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> {
5151 printOutput ( res )
5252 }
5353
54- if ( core . getBooleanInput ( `verify` , { required : true } ) ) {
55- const res = await execShellCommand ( `${ binPath } config verify` )
56- printOutput ( res )
57- }
58-
5954 let userArgs = core . getInput ( `args` )
6055 const addedArgs : string [ ] = [ ]
6156
@@ -142,6 +137,11 @@ async function runLint(binPath: string, patchPath: string): Promise<void> {
142137 cmdArgs . cwd = path . resolve ( workingDirectory )
143138 }
144139
140+ if ( core . getBooleanInput ( `verify` , { required : true } ) ) {
141+ const res = await execShellCommand ( `${ binPath } config verify` , cmdArgs )
142+ printOutput ( res )
143+ }
144+
145145 const cmd = `${ binPath } run ${ addedArgs . join ( ` ` ) } ${ userArgs } ` . trimEnd ( )
146146
147147 core . info ( `Running [${ cmd } ] in [${ cmdArgs . cwd || process . cwd ( ) } ] ...` )
You can’t perform that action at this time.
0 commit comments