Skip to content

Commit

Permalink
fix: change log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
aiji42 committed Mar 28, 2022
1 parent 9a301ec commit d2dec8c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/bin/esbuild-override.ts
Expand Up @@ -13,7 +13,10 @@ const main = () => {
continue;
}
const original = fs.readFileSync(path, { encoding: "utf8" });
if (original.includes(redefine)) break;
if (original.includes(redefine)) {
console.log("💽 esbuild patch by remix-esbuild-override is complete.");
break;
}
if (!original.match(pattern))
throw new Error(
"😵 esbuild patch by remix-esbuild-override failed, please check the the esbuild and remix versions and report this in a new issue. https://github.com/aiji42/remix-esbuild-override/issues/new"
Expand Down

0 comments on commit d2dec8c

Please sign in to comment.