Browse Source

Fix filename of md file for en-US version (#3600)

Initially it was `en-us`, but the folder is `en-US` .

When creating a new component, the build doesn't work because it hopes a file in the `en-US` folder.
Mathieu DARTIGUES 8 years ago
parent
commit
a50fcfd9c7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      build/bin/new.js

+ 1 - 1
build/bin/new.js

@@ -74,7 +74,7 @@ export default {
     content: `## ${chineseName}`
   },
   {
-    filename: path.join('../../examples/docs/en-us', `${componentname}.md`),
+    filename: path.join('../../examples/docs/en-US', `${componentname}.md`),
     content: `## ${componentname}`
   },
   {