Commit 470280e3 authored by Andrés Álvarez's avatar Andrés Álvarez Committed by cinwell.li

Add make new English error message (#4089)

* Add make new English error message

Currently, only Chinese error message is displayed when running
make new command without arguments.

* Update CONTRIBUTING.en-US
parent 1be50df7
...@@ -60,7 +60,7 @@ npm run dist ...@@ -60,7 +60,7 @@ npm run dist
``` ```
## Component Developing Guidelines ## Component Developing Guidelines
- Run `make new` to create project directory for a new component. Test codes, entry file, cooking config, documentation and `package.json` are included. - Run `make new <component-name>` to create project directory for a new component. Test codes, entry file, cooking config, documentation and `package.json` are included.
- Refer to `Button` for nested components. - Refer to `Button` for nested components.
- Refer to `Select` for components that depend on other components. - Refer to `Select` for components that depend on other components.
......
...@@ -6,7 +6,7 @@ process.on('exit', () => { ...@@ -6,7 +6,7 @@ process.on('exit', () => {
}); });
if (!process.argv[2]) { if (!process.argv[2]) {
console.error('[组件名]必填.'); console.error('[组件名]必填 - Please enter new component name');
process.exit(1); process.exit(1);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment