mirror of
https://github.com/fluencelabs/aqua.git
synced 2024-12-12 17:55:33 +00:00
CLI hotfix: check node_modules in current directory (#130)
This commit is contained in:
parent
88c7689768
commit
bf160af23a
@ -8,7 +8,7 @@ const fs = require('fs');
|
|||||||
|
|
||||||
let importArgs = []
|
let importArgs = []
|
||||||
|
|
||||||
const nm = path.join(__dirname, "node_modules")
|
const nm = path.join("./", "node_modules")
|
||||||
if (fs.existsSync(nm) && fs.lstatSync(nm).isDirectory()) {
|
if (fs.existsSync(nm) && fs.lstatSync(nm).isDirectory()) {
|
||||||
importArgs = ["-m", "node_modules"]
|
importArgs = ["-m", "node_modules"]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user