Skip to content

Commit

Permalink
Use handle-cli-error
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Jul 17, 2022
1 parent 5188f38 commit 5a9833c
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 153 deletions.
24 changes: 24 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"find-up": "^6.3.0",
"get-stream": "^6.0.0",
"got": "^12.1.0",
"handle-cli-error": "^1.0.0",
"indent-string": "^5.0.0",
"inquirer": "^9.0.2",
"is-interactive": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/bin/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
import { dirname } from 'path'
import { fileURLToPath } from 'url'

import handleCliError from 'handle-cli-error'
import { readPackageUp } from 'read-pkg-up'
import UpdateNotifier from 'update-notifier'

import { handleCliError } from '../error/cli/main.js'
import { run, show, remove, dev } from '../main.js'

import { parseCliFlags } from './parse.js'
Expand Down
45 changes: 0 additions & 45 deletions src/error/cli/main.js

This file was deleted.

107 changes: 0 additions & 107 deletions src/error/cli/options.js

This file was deleted.

0 comments on commit 5a9833c

Please sign in to comment.