Skip to content

Commit 0ab287b

Browse files
committed
fix: use config arg
1 parent 0adbc47 commit 0ab287b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/run.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,10 @@ async function runLint(binPath: string, patchPath: string): Promise<void> {
138138
}
139139

140140
if (core.getBooleanInput(`verify`, { required: true })) {
141-
const cmdVerify = `${binPath} config verify`
141+
let cmdVerify = `${binPath} config verify`
142+
if (userArgsMap.get("config")) {
143+
cmdVerify += ` --config=${userArgsMap.get("config")}`
144+
}
142145

143146
core.info(`Running [${cmdVerify}] in [${cmdArgs.cwd || process.cwd()}] ...`)
144147

0 commit comments

Comments
 (0)