Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
Swap PrettyPrintableError to its public export
Browse files Browse the repository at this point in the history
  • Loading branch information
chadian committed Jun 29, 2020
1 parent 5582736 commit 358e6d1
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"bugs": "https://github.com/oclif/command/issues",
"dependencies": {
"@oclif/config": "^1.15.1",
"@oclif/errors": "^1.2.2",
"@oclif/errors": "^1.3.1",
"@oclif/parser": "^3.8.3",
"@oclif/plugin-help": "^3",
"debug": "^4.1.1",
Expand Down
2 changes: 1 addition & 1 deletion src/command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {format, inspect} from 'util'
import * as flags from './flags'
import {sortBy, uniqBy} from './util'
import {getHelpClass} from '@oclif/plugin-help'
import {PrettyPrintableError} from '@oclif/errors/lib/errors/pretty-print'
import {PrettyPrintableError} from '@oclif/errors'

/**
* swallows stdout epipe errors
Expand Down
11 changes: 11 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,17 @@
strip-ansi "^6.0.0"
wrap-ansi "^7.0.0"

"@oclif/errors@^1.3.1":
version "1.3.1"
resolved "https://registry.yarnpkg.com/@oclif/errors/-/errors-1.3.1.tgz#297b783ea1d18e46aa28999c7e1b8b827cd8572a"
integrity sha512-ma9SpBNnAjbJNc8kPl8G8n6oJX0WK0FtosuJ9Y5etHoJrqq/s9GOOIxo47fSXomLT1fmqYX5cW2yeQ2Q39XyAw==
dependencies:
clean-stack "^3.0.0"
fs-extra "^9.0.1"
indent-string "^4.0.0"
strip-ansi "^6.0.0"
wrap-ansi "^7.0.0"

"@oclif/linewrap@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@oclif/linewrap/-/linewrap-1.0.0.tgz#aedcb64b479d4db7be24196384897b5000901d91"
Expand Down

0 comments on commit 358e6d1

Please sign in to comment.