Skip to content

Commit 34a9267

Browse files
Tobias Oberrauchphated
authored andcommitted
Update: Improve error messages
1 parent 9cd3944 commit 34a9267

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/hacker.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ function invoke (env) {
5050
}
5151

5252
if (!env.modulePath) {
53-
console.log('Local hacker not found in:', env.cwd);
53+
console.log('Local ', Hacker.moduleName, ' module not found in: ', env.cwd);
5454
process.exit(1);
5555
}
5656

5757
if (env.configPath) {
5858
require(env.configPath);
5959
} else {
60-
console.log('No Hackerfile found.');
60+
console.log('No ', Hacker.configName, ' found.');
6161
}
6262
}

0 commit comments

Comments
 (0)