committed by
Tyler Stewart
parent
e41b04be46
commit
a5f26480e5
@@ -70,9 +70,9 @@ function setupState(_args) {
|
|||||||
function setupRoot() {
|
function setupRoot() {
|
||||||
const dirPath = _args.root;
|
const dirPath = _args.root;
|
||||||
if (dirPath) {
|
if (dirPath) {
|
||||||
_state.root = process.cwd();
|
|
||||||
} else {
|
|
||||||
_state.root = dirPath;
|
_state.root = dirPath;
|
||||||
|
} else {
|
||||||
|
_state.root = process.cwd();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user