Fix lint
This commit is contained in:
parent
795fb0eb60
commit
33bcf2d1ea
3 changed files with 7 additions and 7 deletions
|
|
@ -18,10 +18,10 @@ export default () => {
|
|||
const args = process.argv.slice(3);
|
||||
const name = args[0];
|
||||
const url = args[1];
|
||||
|
||||
|
||||
if (!name) throw new Error('require name');
|
||||
if (!url) throw new Error('require url');
|
||||
|
||||
|
||||
main(name, url).then(() => {
|
||||
console.log('success');
|
||||
process.exit(0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue