improve error message
This commit is contained in:
parent
6dac730a0d
commit
775cb0a426
@ -612,7 +612,7 @@ async function main() {
|
||||
const pwd = cwd();
|
||||
packageFile = findSync("package.json", pwd);
|
||||
if (!packageFile) {
|
||||
finish(new Error(`Unable to find package.json in ${pwd} or any of its parents`));
|
||||
finish(new Error(`Unable to find package.json in ${pwd} or any of its parent directories`));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user