Skip to content

Commit

Permalink
only script
Browse files Browse the repository at this point in the history
  • Loading branch information
darinpope committed May 3, 2022
1 parent dd47530 commit bfe1e14
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vars/runCommand.groovy
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
def call(Map config=[returnStatus:false,returnStdout:false]) {
def call(Map config=[:]) {
if(isUnix()) {
sh(script:config.script, returnStatus:config.returnStatus, returnStdout:config.returnStdout)
sh(script:config.script)
} else {
bat(script:config.script, returnStatus:config.returnStatus, returnStdout:config.returnStdout)
bat(script:config.script)
}
}

0 comments on commit bfe1e14

Please sign in to comment.