Skip to content

Commit

Permalink
Fix copy-paste fail
Browse files Browse the repository at this point in the history
  • Loading branch information
loganfsmyth committed Sep 4, 2018
1 parent 31ecb43 commit 201652e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ try {
} catch (err) {
if (err.code === "MODULE_NOT_FOUND") {
err.message +=
"\n babelify@9 requires Babel 7.x (the package '@babel/core'). " +
"If you'd like to use Babel 6.x ('babel-core'), you should install 'babel-loader@7'.";
"\n babelify@10 requires Babel 7.x (the package '@babel/core'). " +
"If you'd like to use Babel 6.x ('babel-core'), you should install 'babelify@8'.";
}
throw err;
}
Expand All @@ -20,8 +20,8 @@ try {
// people useful feedback if they try to use it alongside babel-loader.
if (/^6\./.test(babel.version)) {
throw new Error(
"\n babel-loader@8 will not work with the '@babel/core@6' bridge package. " +
"If you want to use Babel 6.x, install 'babel-loader@7'."
"\n babelify@10 will not work with the '@babel/core@6' bridge package. " +
"If you want to use Babel 6.x, install 'babelify@8'."
);
}

Expand Down

0 comments on commit 201652e

Please sign in to comment.