Skip to content

Commit 03d920e

Browse files
authored
Add --no-interaction to grumphp checks (#126)
1 parent 0cd8bea commit 03d920e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

__tests__/grumphp.test.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import {expect, test} from '@jest/globals'
44
test('it returns defaults', () => {
55
expect(grumphp({}, 'web')).toEqual([
66
'grumphp',
7-
'run'
7+
'run',
8+
'--no-interaction'
89
])
910
})
1011

src/checks/grumphp.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default function grumphp(
55
// eslint-disable-next-line @typescript-eslint/no-unused-vars
66
webRoot: string
77
): string[] {
8-
const commandArray = ['grumphp', 'run']
8+
const commandArray = ['grumphp', 'run', '--no-interaction']
99
if (options.testsuite !== undefined) {
1010
commandArray.push(`--testsuite=${options.testsuite}`)
1111
}

0 commit comments

Comments
 (0)