Skip to content

Commit

Permalink
Add --no-interaction to grumphp checks (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
zeshanziya authored May 21, 2024
1 parent 0cd8bea commit 03d920e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion __tests__/grumphp.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import {expect, test} from '@jest/globals'
test('it returns defaults', () => {
expect(grumphp({}, 'web')).toEqual([
'grumphp',
'run'
'run',
'--no-interaction'
])
})

Expand Down
2 changes: 1 addition & 1 deletion src/checks/grumphp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default function grumphp(
// eslint-disable-next-line @typescript-eslint/no-unused-vars
webRoot: string
): string[] {
const commandArray = ['grumphp', 'run']
const commandArray = ['grumphp', 'run', '--no-interaction']
if (options.testsuite !== undefined) {
commandArray.push(`--testsuite=${options.testsuite}`)
}
Expand Down

0 comments on commit 03d920e

Please sign in to comment.