Skip to content

Commit c7e14e2

Browse files
authored
Merge pull request #15910 from ludofischer/fix-message
chore: improve warning message grammar
2 parents 7b63346 + 18a89b7 commit c7e14e2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/NodeStuffPlugin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ class NodeStuffPlugin {
117117
setConstant(
118118
"__filename",
119119
"/index.js",
120-
"The __filename is Node.js feature and doesn't present in browser."
120+
"__filename is a Node.js feature and isn't available in browsers."
121121
);
122122
break;
123123
case true:
@@ -144,7 +144,7 @@ class NodeStuffPlugin {
144144
setConstant(
145145
"__dirname",
146146
"/",
147-
"The __dirname is Node.js feature and doesn't present in browser."
147+
"__dirname is a Node.js feature and isn't available in browsers."
148148
);
149149
break;
150150
case true:

0 commit comments

Comments
 (0)