Skip to content

Commit

Permalink
Merge pull request #1 from klokoy/args
Browse files Browse the repository at this point in the history
add args to exec
  • Loading branch information
klokoy committed Dec 5, 2014
2 parents b55e097 + 7164d64 commit 2a72b50
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ module.exports = function ifcConvert(source, dest, options, callback) {

var args = [source, dest];

//If user supplies any args concat them to the args array
if(options && options.args) {
args = args.concat(options.args);
}

execFile(ifcConvertPath, args, function(err, stdout, stderr) {

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ifc-convert",
"version": "0.0.1",
"version": "0.1.0",
"description": "Simple wrapper for ifcConvert",
"main": "index.js",
"repository" : {
Expand Down

0 comments on commit 2a72b50

Please sign in to comment.