diff --git a/bin/pro-router.js b/bin/pro-router.js index c3e7775..f435e40 100644 --- a/bin/pro-router.js +++ b/bin/pro-router.js @@ -4,7 +4,7 @@ var np = require('path'); var nfs = require('fs'); function file(path){ - return console.log(np.join(__dirname, path)); + np.join(require.main.filename, path); }; function read(file){ try {