File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -51,11 +51,6 @@ async function runLint(binPath: string, patchPath: string): Promise<void> {
51
51
printOutput ( res )
52
52
}
53
53
54
- if ( core . getBooleanInput ( `verify` , { required : true } ) ) {
55
- const res = await execShellCommand ( `${ binPath } config verify` )
56
- printOutput ( res )
57
- }
58
-
59
54
let userArgs = core . getInput ( `args` )
60
55
const addedArgs : string [ ] = [ ]
61
56
@@ -142,6 +137,11 @@ async function runLint(binPath: string, patchPath: string): Promise<void> {
142
137
cmdArgs . cwd = path . resolve ( workingDirectory )
143
138
}
144
139
140
+ if ( core . getBooleanInput ( `verify` , { required : true } ) ) {
141
+ const res = await execShellCommand ( `${ binPath } config verify` , cmdArgs )
142
+ printOutput ( res )
143
+ }
144
+
145
145
const cmd = `${ binPath } run ${ addedArgs . join ( ` ` ) } ${ userArgs } ` . trimEnd ( )
146
146
147
147
core . info ( `Running [${ cmd } ] in [${ cmdArgs . cwd || process . cwd ( ) } ] ...` )
You can’t perform that action at this time.
0 commit comments