improve error message

This commit is contained in:
silverwind 2022-12-21 15:54:23 +01:00
parent 6dac730a0d
commit 775cb0a426
Signed by: silverwind
GPG Key ID: 2E62B41C93869443

@ -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`));
}
}