diff --git a/packages/ui-scripts/lib/utils/git.js b/packages/ui-scripts/lib/utils/git.js index 809008264a..6e55a07d34 100644 --- a/packages/ui-scripts/lib/utils/git.js +++ b/packages/ui-scripts/lib/utils/git.js @@ -26,8 +26,8 @@ import { runCommandSync, error, info, warn } from '@instructure/command-utils' const USERNAME = 'instructure-ui-ci' const EMAIL = 'instui-dev@instructure.com' -export const runGitCommand = (args = []) => { - const { stdout } = runCommandSync('git', args, {}, { stdio: 'pipe' }) +export const runGitCommand = (args = [], envVars = { HUSKY: 0 }) => { + const { stdout } = runCommandSync('git', args, envVars, { stdio: 'pipe' }) return stdout && stdout.toString().trim() }