@makano/rew 1.0.2 → 1.0.21
Sign up to get free protection for your applications and to get access to all the features.
- package/bin/rew +3 -3
- package/package.json +1 -1
package/bin/rew
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
#!/usr/bin/env node
|
2
2
|
const path = require('path');
|
3
3
|
const fs = require('fs');
|
4
|
-
const rew_mod = path.resolve(process.cwd(), 'node_modules/rew');
|
4
|
+
const rew_mod = path.resolve(process.cwd(), 'node_modules/@makano/rew');
|
5
5
|
if(fs.existsSync(rew_mod)){
|
6
|
-
require(
|
6
|
+
require(path.join(rew_mod, 'lib/rew/cli/cli.js'));
|
7
7
|
} else {
|
8
8
|
require('../lib/rew/cli/cli.js');
|
9
|
-
}
|
9
|
+
}
|