aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.js b/index.js
index 5355f2f..07988a2 100644
--- a/index.js
+++ b/index.js
@@ -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 });