Browse Source

fix - proper path to pro-router.js

master
Marek Piasecki 2 years ago
parent
commit
a6d72e7d9e
  1. 2
      bin/pro-router.js

2
bin/pro-router.js

@ -4,7 +4,7 @@ var np = require('path');
var nfs = require('fs'); var nfs = require('fs');
function file(path){ function file(path){
return console.log(np.join(__dirname, path)); np.join(require.main.filename, path);
}; };
function read(file){ function read(file){
try { try {

Loading…
Cancel
Save