Skip to content

Commit bd50aa3

Browse files
committed
Remove 'wf_vars' parameter from hflowRun
1 parent 9b84949 commit bd50aa3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

bin/hflow.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ var fs = require('fs'),
3333
wflib = require('../wflib').init(rcl),
3434
Engine = require('../engine2'),
3535
async = require('async'),
36-
readVars = require('../utils/readvars.js'),
3736
AdmZip = require('adm-zip'),
3837
dbId = 0,
3938
plugins = [],
@@ -45,16 +44,15 @@ var fs = require('fs'),
4544
var hfroot = pathtool.join(require('path').dirname(require.main.filename), "..");
4645

4746
// Workflow variables TODO: add support for config files
48-
var wf_vars = readVars([], opts['--var']);
4947

5048
if (opts.run) {
51-
hflowRun(wf_vars, opts, function(err, engine) { });
49+
hflowRun(opts, function(err, engine) { });
5250
} else if (opts.send) {
5351
hflow_send();
5452
} else if (opts['start-server']) {
5553
hflow_start();
5654
} else if (opts.recover) {
57-
hflowRun(wf_vars, opts, function(err, engine) { });
55+
hflowRun(opts, function(err, engine) { });
5856
} /*else if (opts.submit) {
5957
hflowSubmit(opts);
6058
}*/

0 commit comments

Comments
 (0)