diff options
Diffstat (limited to 'index.js')
-rw-r--r-- | index.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -37,7 +37,7 @@ module.exports = function(source){ | |||
37 | if (e) callback(e); | 37 | if (e) callback(e); |
38 | else { | 38 | else { |
39 | var module = path.basename(request, '.purs'); | 39 | var module = path.basename(request, '.purs'); |
40 | fs.readFile(path.join(opts[OPTIONS[OUTPUT]] || OUTPUT, module, 'index.js'), 'utf-8', function(e, output){ | 40 | fs.readFile(path.join(query[OUTPUT] || OUTPUT, module, 'index.js'), 'utf-8', function(e, output){ |
41 | if (e) callback(e); | 41 | if (e) callback(e); |
42 | else callback(e, output); | 42 | else callback(e, output); |
43 | }); | 43 | }); |