Skip to content

Commit bd53113

Browse files
committed
cleanup first and then shellcheck as formatting could break something
1 parent 11f8ca6 commit bd53113

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/before-pr.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ sourceOnce "$scriptsDir/run-shellcheck.sh"
3131
function beforePr() {
3232
# using && because this function is used on the left side of an || in releaseFiles
3333
# this way we still have fail fast behaviour and don't mask/hide a non-zero exit code
34-
runShellspecIfInstalled --jobs 2 &&
34+
cleanupOnPushToMain &&
35+
runShellspecIfInstalled --jobs 2 &&
3536
checkInBugTemplate &&
36-
customRunShellcheck &&
37-
cleanupOnPushToMain
37+
customRunShellcheck
3838
}
3939

4040
${__SOURCED__:+return}

0 commit comments

Comments
 (0)