diff --git a/components/git/v8.js b/components/git/v8.js index 02961640..c60608ac 100644 --- a/components/git/v8.js +++ b/components/git/v8.js @@ -1,11 +1,10 @@ import path from 'node:path'; -import logSymbols from 'log-symbols'; - import { minor, major, backport, deps } from '../../lib/update-v8/index.js'; import { defaultBaseDir } from '../../lib/update-v8/constants.js'; import { checkCwd } from '../../lib/update-v8/common.js'; import { forceRunAsync } from '../../lib/run.js'; +import { error } from '../../lib/figures.js'; export const command = 'v8 [major|minor|backport|deps]'; export const describe = 'Update or patch the V8 engine'; @@ -154,7 +153,7 @@ export function handler(argv) { }) .catch((err) => { console.error( - logSymbols.error, + error, options.verbose ? err.stack : err.message ); process.exitCode = 1; diff --git a/package-lock.json b/package-lock.json index abc7c6e2..1094bb29 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,7 +23,6 @@ "js-yaml", "listr2", "lodash", - "log-symbols", "ora", "replace-in-file", "semver", @@ -49,7 +48,6 @@ "js-yaml": "^5.2.1", "listr2": "^9.0.5", "lodash": "^4.17.21", - "log-symbols": "^7.0.0", "ora": "^9.0.0", "replace-in-file": "^8.3.0", "semver": "^7.7.1", diff --git a/package.json b/package.json index efc6a82a..fe6c1185 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,6 @@ "js-yaml": "^5.2.1", "listr2": "^9.0.5", "lodash": "^4.17.21", - "log-symbols": "^7.0.0", "ora": "^9.0.0", "replace-in-file": "^8.3.0", "semver": "^7.7.1",