Skip to content

Commit

Permalink
chore(ui-scripts): don't run git hooks from ui-scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
balzss authored and HerrTopi committed Aug 18, 2023
1 parent 2ced2b2 commit 08f038f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ui-scripts/lib/utils/git.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ import { runCommandSync, error, info, warn } from '@instructure/command-utils'
const USERNAME = 'instructure-ui-ci'
const EMAIL = '[email protected]'

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()
}

Expand Down

0 comments on commit 08f038f

Please sign in to comment.