Skip to content

Commit 09872d7

Browse files
committed
chore(linting): no-unused-vars
1 parent 82ae2a7 commit 09872d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/shell.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ t.test('cmd', (t) => {
120120
t.test('escapes when cmd is a .exe', async (t) => {
121121
const promiseSpawnMock = t.mock('../lib/index.js', {
122122
which: {
123-
sync: (key, opts) => {
123+
sync: (key) => {
124124
t.equal(key, 'dir')
125125
return 'dir.exe'
126126
},
@@ -146,7 +146,7 @@ t.test('cmd', (t) => {
146146
t.test('double escapes when cmd is a .cmd', async (t) => {
147147
const promiseSpawnMock = t.mock('../lib/index.js', {
148148
which: {
149-
sync: (key, opts) => {
149+
sync: (key) => {
150150
t.equal(key, 'dir')
151151
return 'dir.cmd'
152152
},

0 commit comments

Comments
 (0)