Skip to content

Commit 32c08d3

Browse files
authoredOct 4, 2021
feat(deps): update and slim down dependencies (#1003)
* chore(deps): update dependencies * test: remove duplicates lines from snapshots * test: replace babel-eslint with @babel/eslint-parser * chore(deps): update dependencies * chore(deps): regenerate yarn.lock to reduce its size * perf: re-use figures from listr2 and remove `log-symbols` * perf: replace `chalk` with `colorette` and `supports-color` * build: use npm instead of yarn
1 parent 3885af8 commit 32c08d3

19 files changed

+15787
-6271
lines changed
 

‎.appveyor.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ matrix:
99
install:
1010
- ps: Install-Product node $env:nodejs_version
1111
- set CI=true
12-
- yarn install
12+
- npm ci
1313

1414
build: off
1515

@@ -19,9 +19,9 @@ cache:
1919

2020
test_script:
2121
- node --version
22-
- yarn --version
22+
- npm --version
2323
- git --version
24-
- yarn test
24+
- npm test
2525

2626
branches:
2727
only:

‎.eslintrc.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
2-
"parser": "babel-eslint",
2+
"parser": "@babel/eslint-parser",
33
"parserOptions": {
44
"ecmaVersion": 6,
55
"ecmaFeatures": {
66
"experimentalObjectRestSpread": true
77
},
8+
"requireConfigFile": false,
89
"sourceType": "script"
910
},
1011
"env": {

‎.github/workflows/main.yml

+11-22
Original file line numberDiff line numberDiff line change
@@ -33,33 +33,22 @@ jobs:
3333
runs-on: ${{ matrix.os }}
3434
steps:
3535
- uses: actions/checkout@v2
36-
- uses: actions/setup-node@v1
36+
- uses: actions/setup-node@v2
3737
with:
3838
node-version: ${{ matrix.node }}
39-
# Get yarn's cache dir path
40-
- name: Get yarn cache directory path
41-
id: yarn-cache-dir-path
42-
run: echo "::set-output name=dir::$(yarn cache dir)"
43-
# Cache the above yarn cache dir
44-
- uses: actions/cache@v1
45-
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
46-
with:
47-
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
48-
key: yarn-${{ runner.os }}-${{ runner.node }}-${{ hashFiles('**/yarn.lock') }}
49-
restore-keys: |
50-
yarn-${{ runner.os }}-${{ runner.node }}-
39+
cache: 'npm'
5140
# Print current Node.js version
5241
- run: node --version
53-
# Print current Yarn version
54-
- run: yarn --version
42+
# Print current npm version
43+
- run: npm --version
5544
# Print current Git version
5645
- run: git --version
5746
# Install node_modules
58-
- run: yarn
47+
- run: npm ci
5948
# Run tests
60-
- run: yarn test
49+
- run: npm test
6150
# Upload coverage artifact from Node.js LTS
62-
- uses: actions/upload-artifact@v1
51+
- uses: actions/upload-artifact@v2
6352
if: matrix.os == 'ubuntu-latest' && matrix.node == '12'
6453
with:
6554
name: coverage
@@ -72,11 +61,11 @@ jobs:
7261
steps:
7362
- uses: actions/checkout@v2
7463
# Download coverage artifact
75-
- uses: actions/download-artifact@v1
64+
- uses: actions/download-artifact@v2
7665
with:
7766
name: coverage
7867
# Run codecov.io
79-
- uses: codecov/codecov-action@v1
68+
- uses: codecov/codecov-action@v2
8069

8170
release:
8271
name: Release
@@ -86,9 +75,9 @@ jobs:
8675
if: github.event_name == 'push'
8776
steps:
8877
- uses: actions/checkout@v2
89-
- uses: actions/setup-node@v1
78+
- uses: actions/setup-node@v2
9079
with:
91-
node-version: '12' # release using Node.js LTS
80+
node-version: '14' # release using Node.js LTS
9281
# Release using semantic-release.
9382
# While this runs on all branches, it will only release latest from master
9483
- uses: codfish/semantic-release-action@v1

‎bin/lint-staged.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
const fs = require('fs')
66

77
// Force colors for packages that depend on https://www.npmjs.com/package/supports-color
8-
const { supportsColor } = require('chalk')
9-
if (supportsColor && supportsColor.level) {
10-
process.env.FORCE_COLOR = supportsColor.level.toString()
8+
const supportsColor = require('supports-color')
9+
if (supportsColor.stdout) {
10+
process.env.FORCE_COLOR = supportsColor.stdout.level.toString()
1111
}
1212

1313
// Do not terminate main Listr process on SIGINT

‎lib/figures.js

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
const { blue, redBright, yellow } = require('colorette')
2+
const { figures } = require('listr2')
3+
4+
const { arrowRight, cross, warning } = figures
5+
6+
module.exports = {
7+
info: blue(arrowRight),
8+
error: redBright(cross),
9+
warning: yellow(warning),
10+
}

‎lib/messages.js

+19-17
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,59 @@
11
'use strict'
22

3-
const chalk = require('chalk')
4-
const { error, info, warning } = require('log-symbols')
3+
const { redBright, bold, yellow } = require('colorette')
54
const format = require('stringify-object')
65

6+
const { error, info, warning } = require('./figures')
7+
78
const configurationError = (opt, helpMsg, value) =>
8-
`${chalk.redBright(`${error} Validation Error:`)}
9+
`${redBright(`${error} Validation Error:`)}
910
10-
Invalid value for '${chalk.bold(opt)}': ${chalk.bold(
11+
Invalid value for '${bold(opt)}': ${bold(
1112
format(value, { inlineCharacterLimit: Number.POSITIVE_INFINITY })
1213
)}
1314
1415
${helpMsg}`
1516

16-
const NOT_GIT_REPO = chalk.redBright(`${error} Current directory is not a git directory!`)
17+
const NOT_GIT_REPO = redBright(`${error} Current directory is not a git directory!`)
1718

18-
const FAILED_GET_STAGED_FILES = chalk.redBright(`${error} Failed to get staged files!`)
19+
const FAILED_GET_STAGED_FILES = redBright(`${error} Failed to get staged files!`)
1920

20-
const incorrectBraces = (before, after) => `${warning} ${chalk.yellow(
21-
`Detected incorrect braces with only single value: \`${before}\`. Reformatted as: \`${after}\``
22-
)}
21+
const incorrectBraces = (before, after) =>
22+
yellow(
23+
`${warning} Detected incorrect braces with only single value: \`${before}\`. Reformatted as: \`${after}\`
2324
`
25+
)
2426

2527
const NO_STAGED_FILES = `${info} No staged files found.`
2628

2729
const NO_TASKS = `${info} No staged files match any configured task.`
2830

2931
const skippingBackup = (hasInitialCommit) => {
3032
const reason = hasInitialCommit ? '`--no-stash` was used' : 'there’s no initial commit yet'
31-
return `${warning} ${chalk.yellow(`Skipping backup because ${reason}.\n`)}`
33+
return yellow(`${warning} Skipping backup because ${reason}.\n`)
3234
}
3335

34-
const DEPRECATED_GIT_ADD = `${warning} ${chalk.yellow(
35-
`Some of your tasks use \`git add\` command. Please remove it from the config since all modifications made by tasks will be automatically added to the git commit index.`
36-
)}
36+
const DEPRECATED_GIT_ADD = yellow(
37+
`${warning} Some of your tasks use \`git add\` command. Please remove it from the config since all modifications made by tasks will be automatically added to the git commit index.
3738
`
39+
)
3840

3941
const TASK_ERROR = 'Skipped because of errors from tasks.'
4042

4143
const SKIPPED_GIT_ERROR = 'Skipped because of previous git error.'
4244

43-
const GIT_ERROR = `\n ${error} ${chalk.red(`lint-staged failed due to a git error.`)}`
45+
const GIT_ERROR = `\n ${redBright(`${error} lint-staged failed due to a git error.`)}`
4446

45-
const invalidOption = (name, value, message) => `${chalk.redBright(`${error} Validation Error:`)}
47+
const invalidOption = (name, value, message) => `${redBright(`${error} Validation Error:`)}
4648
47-
Invalid value for option '${chalk.bold(name)}': ${chalk.bold(value)}
49+
Invalid value for option '${bold(name)}': ${bold(value)}
4850
4951
${message}
5052
5153
See https://github.com/okonet/lint-staged#command-line-flags`
5254

5355
const PREVENTED_EMPTY_COMMIT = `
54-
${warning} ${chalk.yellow(`lint-staged prevented an empty git commit.
56+
${yellow(`${warning} lint-staged prevented an empty git commit.
5557
Use the --allow-empty option to continue, or check your task configuration`)}
5658
`
5759

‎lib/resolveTaskFn.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
'use strict'
22

3-
const { redBright, dim } = require('chalk')
3+
const { redBright, dim } = require('colorette')
44
const execa = require('execa')
55
const debug = require('debug')('lint-staged:task')
66
const { parseArgsStringToArgv } = require('string-argv')
7-
const { error, info } = require('log-symbols')
87

8+
const { error, info } = require('./figures')
99
const { getInitialState } = require('./state')
1010
const { TaskError } = require('./symbols')
1111

‎package-lock.json

+15,682
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+20-20
Original file line numberDiff line numberDiff line change
@@ -27,38 +27,38 @@
2727
"test:watch": "jest --watch"
2828
},
2929
"dependencies": {
30-
"chalk": "^4.1.1",
31-
"cli-truncate": "^2.1.0",
32-
"commander": "^7.2.0",
33-
"cosmiconfig": "^7.0.0",
34-
"debug": "^4.3.1",
30+
"cli-truncate": "2.1.0",
31+
"colorette": "^1.4.0",
32+
"commander": "^8.2.0",
33+
"cosmiconfig": "^7.0.1",
34+
"debug": "^4.3.2",
3535
"enquirer": "^2.3.6",
36-
"execa": "^5.0.0",
37-
"listr2": "^3.8.2",
38-
"log-symbols": "^4.1.0",
36+
"execa": "^5.1.1",
37+
"listr2": "^3.12.2",
3938
"micromatch": "^4.0.4",
4039
"normalize-path": "^3.0.0",
4140
"please-upgrade-node": "^3.2.0",
4241
"string-argv": "0.3.1",
43-
"stringify-object": "^3.3.0"
42+
"stringify-object": "3.3.0",
43+
"supports-color": "8.1.1"
4444
},
4545
"devDependencies": {
46-
"@babel/core": "^7.14.0",
47-
"@babel/plugin-proposal-object-rest-spread": "^7.13.8",
48-
"@babel/preset-env": "^7.14.1",
49-
"babel-eslint": "10.1.0",
50-
"babel-jest": "^26.6.3",
46+
"@babel/core": "^7.15.5",
47+
"@babel/eslint-parser": "^7.15.7",
48+
"@babel/plugin-proposal-object-rest-spread": "^7.15.6",
49+
"@babel/preset-env": "^7.15.6",
50+
"babel-jest": "^27.2.4",
5151
"consolemock": "^1.1.0",
52-
"eslint": "^7.25.0",
52+
"eslint": "^7.32.0",
5353
"eslint-config-prettier": "^8.3.0",
54-
"eslint-plugin-import": "^2.22.1",
54+
"eslint-plugin-import": "^2.24.2",
5555
"eslint-plugin-node": "^11.1.0",
56-
"eslint-plugin-prettier": "^3.4.0",
56+
"eslint-plugin-prettier": "^4.0.0",
5757
"fs-extra": "^10.0.0",
58-
"husky": "^6.0.0",
59-
"jest": "^26.6.3",
58+
"husky": "^7.0.2",
59+
"jest": "^27.2.4",
6060
"jest-snapshot-serializer-ansi": "^1.0.0",
61-
"prettier": "^2.2.1"
61+
"prettier": "^2.4.1"
6262
},
6363
"config": {
6464
"commitizen": {

‎test/.eslintrc.json

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"parser": "babel-eslint",
32
"parserOptions": {
43
"sourceType": "module"
54
},

‎test/__snapshots__/validateConfig.spec.js.snap

+17-17
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

33
exports[`validateConfig should throw and should print validation errors for invalid config 1`] = `
4-
"× Validation Error:
4+
" Validation Error:
55
66
Invalid value for 'foo': false
77
@@ -11,49 +11,49 @@ exports[`validateConfig should throw and should print validation errors for inva
1111
exports[`validateConfig should throw and should print validation errors for invalid config 1 1`] = `"Configuration should be an object or a function!"`;
1212

1313
exports[`validateConfig should throw when detecting deprecated advanced configuration 1`] = `
14-
"× Validation Error:
14+
" Validation Error:
1515
1616
Invalid value for 'chunkSize': 10
1717
1818
Advanced configuration has been deprecated.
1919
20-
× Validation Error:
20+
Validation Error:
2121
2222
Invalid value for 'concurrent': false
2323
2424
Advanced configuration has been deprecated.
2525
26-
× Validation Error:
26+
Validation Error:
2727
2828
Invalid value for 'globOptions': {matchBase: false}
2929
3030
Advanced configuration has been deprecated.
3131
32-
× Validation Error:
32+
Validation Error:
3333
3434
Invalid value for 'ignore': ['test.js']
3535
3636
Advanced configuration has been deprecated.
3737
38-
× Validation Error:
38+
Validation Error:
3939
4040
Invalid value for 'linters': {'*.js': ['eslint']}
4141
4242
Advanced configuration has been deprecated.
4343
44-
× Validation Error:
44+
Validation Error:
4545
4646
Invalid value for 'relative': true
4747
4848
Advanced configuration has been deprecated.
4949
50-
× Validation Error:
50+
Validation Error:
5151
5252
Invalid value for 'renderer': 'silent'
5353
5454
Advanced configuration has been deprecated.
5555
56-
× Validation Error:
56+
Validation Error:
5757
5858
Invalid value for 'subTaskConcurrency': 10
5959
@@ -64,49 +64,49 @@ exports[`validateConfig should throw when detecting deprecated advanced configur
6464
"
6565
ERROR Could not parse lint-staged config.
6666
67-
× Validation Error:
67+
Validation Error:
6868
6969
Invalid value for 'chunkSize': 10
7070
7171
Advanced configuration has been deprecated.
7272
73-
× Validation Error:
73+
Validation Error:
7474
7575
Invalid value for 'concurrent': false
7676
7777
Advanced configuration has been deprecated.
7878
79-
× Validation Error:
79+
Validation Error:
8080
8181
Invalid value for 'globOptions': {matchBase: false}
8282
8383
Advanced configuration has been deprecated.
8484
85-
× Validation Error:
85+
Validation Error:
8686
8787
Invalid value for 'ignore': ['test.js']
8888
8989
Advanced configuration has been deprecated.
9090
91-
× Validation Error:
91+
Validation Error:
9292
9393
Invalid value for 'linters': {'*.js': ['eslint']}
9494
9595
Advanced configuration has been deprecated.
9696
97-
× Validation Error:
97+
Validation Error:
9898
9999
Invalid value for 'relative': true
100100
101101
Advanced configuration has been deprecated.
102102
103-
× Validation Error:
103+
Validation Error:
104104
105105
Invalid value for 'renderer': 'silent'
106106
107107
Advanced configuration has been deprecated.
108108
109-
× Validation Error:
109+
Validation Error:
110110
111111
Invalid value for 'subTaskConcurrency': 10
112112

‎test/index.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ describe('lintStaged', () => {
4343

4444
expect(logger.printHistory()).toMatchInlineSnapshot(`
4545
"
46-
ERROR × Failed to get staged files!"
46+
ERROR Failed to get staged files!"
4747
`)
4848
})
4949

‎test/integration.test.js

+7-7
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ describe('lint-staged', () => {
6565
await expect(lintStaged({ ...fixJsConfig, cwd: nonGitDir }, logger)).resolves.toEqual(false)
6666
expect(logger.printHistory()).toMatchInlineSnapshot(`
6767
"
68-
ERROR × Current directory is not a git directory!"
68+
ERROR Current directory is not a git directory!"
6969
`)
7070
await fs.remove(nonGitDir)
7171
})
@@ -761,7 +761,7 @@ describe('lint-staged', () => {
761761

762762
expect(console.printHistory()).toMatchInlineSnapshot(`
763763
"
764-
WARN Some of your tasks use \`git add\` command. Please remove it from the config since all modifications made by tasks will be automatically added to the git commit index.
764+
WARN Some of your tasks use \`git add\` command. Please remove it from the config since all modifications made by tasks will be automatically added to the git commit index.
765765
766766
LOG [STARTED] Preparing...
767767
LOG [SUCCESS] Preparing...
@@ -780,7 +780,7 @@ describe('lint-staged', () => {
780780
LOG [STARTED] Cleaning up...
781781
LOG [SUCCESS] Cleaning up...
782782
WARN
783-
lint-staged prevented an empty git commit.
783+
lint-staged prevented an empty git commit.
784784
Use the --allow-empty option to continue, or check your task configuration
785785
"
786786
`)
@@ -909,7 +909,7 @@ describe('lint-staged', () => {
909909

910910
expect(console.printHistory()).toMatchInlineSnapshot(`
911911
"
912-
WARN Skipping backup because \`--no-stash\` was used.
912+
WARN Skipping backup because \`--no-stash\` was used.
913913
914914
LOG [STARTED] Preparing...
915915
LOG [SUCCESS] Preparing...
@@ -963,7 +963,7 @@ describe('lint-staged', () => {
963963

964964
expect(console.printHistory()).toMatchInlineSnapshot(`
965965
"
966-
WARN Skipping backup because \`--no-stash\` was used.
966+
WARN Skipping backup because \`--no-stash\` was used.
967967
968968
LOG [STARTED] Preparing...
969969
LOG [SUCCESS] Preparing...
@@ -980,7 +980,7 @@ describe('lint-staged', () => {
980980
LOG [STARTED] Restoring unstaged changes to partially staged files...
981981
ERROR [FAILED] Unstaged changes could not be restored due to a merge conflict!
982982
ERROR
983-
× lint-staged failed due to a git error."
983+
lint-staged failed due to a git error."
984984
`)
985985

986986
// Something was wrong so the commit was aborted
@@ -1080,7 +1080,7 @@ describe('lintStaged', () => {
10801080

10811081
expect(console.printHistory()).toMatchInlineSnapshot(`
10821082
"
1083-
WARN Skipping backup because there’s no initial commit yet.
1083+
WARN Skipping backup because there’s no initial commit yet.
10841084
10851085
LOG [STARTED] Preparing...
10861086
LOG [SUCCESS] Preparing...

‎test/makeCmdTasks.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ describe('makeCmdTasks', () => {
109109
it("should throw when function task doesn't return string | string[]", async () => {
110110
await expect(makeCmdTasks({ commands: () => null, gitDir, files: ['test.js'] })).rejects
111111
.toThrowErrorMatchingInlineSnapshot(`
112-
"× Validation Error:
112+
" Validation Error:
113113
114114
Invalid value for '[Function]': null
115115

‎test/resolveTaskFn.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ describe('resolveTaskFn', () => {
267267
"hasPartiallyStagedFiles": null,
268268
"output": Array [
269269
"
270-
i mock cmd:
270+
mock cmd:
271271
Mock success",
272272
],
273273
"quiet": false,

‎test/runAll.spec.js

+3-5
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ describe('runAll', () => {
4343
"errors": Set {},
4444
"hasPartiallyStagedFiles": null,
4545
"output": Array [
46-
"i No staged files found.",
46+
" No staged files found.",
4747
],
4848
"quiet": false,
4949
"shouldBackup": true,
@@ -128,10 +128,10 @@ describe('runAll', () => {
128128
INFO [SKIPPED] Skipped because of previous git error.
129129
LOG [STARTED] Applying modifications...
130130
INFO [SKIPPED]
131-
[SKIPPED] × lint-staged failed due to a git error.
131+
[SKIPPED] lint-staged failed due to a git error.
132132
LOG [STARTED] Cleaning up...
133133
INFO [SKIPPED]
134-
[SKIPPED] × lint-staged failed due to a git error."
134+
[SKIPPED] lint-staged failed due to a git error."
135135
`)
136136
})
137137

@@ -160,7 +160,6 @@ describe('runAll', () => {
160160
LOG [STARTED] Running tasks for *.js
161161
LOG [STARTED] echo \\"sample\\"
162162
ERROR [FAILED] echo \\"sample\\" [1]
163-
ERROR [FAILED] echo \\"sample\\" [1]
164163
LOG [SUCCESS] Running tasks...
165164
LOG [STARTED] Applying modifications...
166165
INFO [SKIPPED] Skipped because of errors from tasks.
@@ -198,7 +197,6 @@ describe('runAll', () => {
198197
LOG [STARTED] Running tasks for *.js
199198
LOG [STARTED] echo \\"sample\\"
200199
ERROR [FAILED] echo \\"sample\\" [SIGINT]
201-
ERROR [FAILED] echo \\"sample\\" [SIGINT]
202200
LOG [SUCCESS] Running tasks...
203201
LOG [STARTED] Applying modifications...
204202
INFO [SKIPPED] Skipped because of errors from tasks.

‎test/validateBraces.spec.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ describe('validateBraces', () => {
5353
expect(fixedBraces).toEqual('*.js')
5454
expect(logger.printHistory()).toMatchInlineSnapshot(`
5555
"
56-
WARN Detected incorrect braces with only single value: \`*.{js}\`. Reformatted as: \`*.js\`
56+
WARN Detected incorrect braces with only single value: \`*.{js}\`. Reformatted as: \`*.js\`
5757
"
5858
`)
5959
})
@@ -66,7 +66,7 @@ describe('validateBraces', () => {
6666
expect(fixedBraces).toEqual('*.tsx')
6767
expect(logger.printHistory()).toMatchInlineSnapshot(`
6868
"
69-
WARN Detected incorrect braces with only single value: \`*.{ts}{x}\`. Reformatted as: \`*.tsx\`
69+
WARN Detected incorrect braces with only single value: \`*.{ts}{x}\`. Reformatted as: \`*.tsx\`
7070
"
7171
`)
7272
})
@@ -79,7 +79,7 @@ describe('validateBraces', () => {
7979
expect(fixedBraces).toEqual('*.{js,ts}')
8080
expect(logger.printHistory()).toMatchInlineSnapshot(`
8181
"
82-
WARN Detected incorrect braces with only single value: \`*.{js,{ts}}\`. Reformatted as: \`*.{js,ts}\`
82+
WARN Detected incorrect braces with only single value: \`*.{js,{ts}}\`. Reformatted as: \`*.{js,ts}\`
8383
"
8484
`)
8585
})
@@ -108,7 +108,7 @@ describe('validateBraces', () => {
108108
expect(fixedBraces).toEqual('*.{{js,ts},css}')
109109
expect(logger.printHistory()).toMatchInlineSnapshot(`
110110
"
111-
WARN Detected incorrect braces with only single value: \`*.{{js,ts},{css}}\`. Reformatted as: \`*.{{js,ts},css}\`
111+
WARN Detected incorrect braces with only single value: \`*.{{js,ts},{css}}\`. Reformatted as: \`*.{{js,ts},css}\`
112112
"
113113
`)
114114
})

‎test/validateOptions.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ describe('validateOptions', () => {
5353
expect(logger.history()).toHaveLength(1)
5454
expect(logger.printHistory()).toMatchInlineSnapshot(`
5555
"
56-
ERROR × Validation Error:
56+
ERROR Validation Error:
5757
5858
Invalid value for option 'shell': /bin/sh
5959

‎yarn.lock

-6,165
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.