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
pull/4107/head
Andrés Álvarez 2017-04-10 21:27:39 +08:00 committed by cinwell.li
parent 1be50df7e5
commit 470280e367
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ npm run dist
```
## 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 `Select` for components that depend on other components.

View File

@ -6,7 +6,7 @@ process.on('exit', () => {
});
if (!process.argv[2]) {
console.error('[组件名]必填.');
console.error('[组件名]必填 - Please enter new component name');
process.exit(1);
}