Skip to content

Commit

Permalink
Merge pull request #15910 from ludofischer/fix-message
Browse files Browse the repository at this point in the history
chore: improve warning message grammar
  • Loading branch information
sokra committed Jul 25, 2022
2 parents 7b63346 + 18a89b7 commit c7e14e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/NodeStuffPlugin.js
Expand Up @@ -117,7 +117,7 @@ class NodeStuffPlugin {
setConstant(
"__filename",
"/index.js",
"The __filename is Node.js feature and doesn't present in browser."
"__filename is a Node.js feature and isn't available in browsers."
);
break;
case true:
Expand All @@ -144,7 +144,7 @@ class NodeStuffPlugin {
setConstant(
"__dirname",
"/",
"The __dirname is Node.js feature and doesn't present in browser."
"__dirname is a Node.js feature and isn't available in browsers."
);
break;
case true:
Expand Down

0 comments on commit c7e14e2

Please sign in to comment.