Skip to content

Commit

Permalink
Binding: Send output path to upstream. (sass#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
am11 committed Aug 24, 2014
1 parent c792069 commit ab6692d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions binding.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ void ExtractOptions(Local<Value> optionsValue, void* cptr, sass_context_wrapper*
if (isFile) {
sass_file_context* ctx = (sass_file_context*) cptr;
ctx->input_path = CreateString(options->Get(NanNew("file")));
ctx->output_path = CreateString(options->Get(NanNew("outFile")));
ctx->options.image_path = CreateString(options->Get(NanNew("imagePath")));
ctx->options.output_style = options->Get(NanNew("style"))->Int32Value();
ctx->options.source_comments = source_comments = options->Get(NanNew("comments"))->Int32Value();
Expand Down

0 comments on commit ab6692d

Please sign in to comment.