Skip to content

Commit

Permalink
make depCheck error clearer
Browse files Browse the repository at this point in the history
mchangrh committed Jul 11, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 81b9b61 commit 07ae306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers/depCheck.js
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ function check() {
// node v12+ - discord.js 12.5.3
let nodeVersion = Number(process.versions.node.split(".")[0]);
if (nodeVersion < 12) {
throw new UnmetDependencyError("Node Version");
throw new UnmetDependencyError("Node 12 or higher required");
}
// check for __dirname
if (!__dirname) {

0 comments on commit 07ae306

Please sign in to comment.