fix: use config arg for verify (#1168)
This commit is contained in:
committed by
GitHub
parent
0adbc47a59
commit
1c50240be2
@ -138,7 +138,10 @@ async function runLint(binPath: string, patchPath: string): Promise<void> {
|
||||
}
|
||||
|
||||
if (core.getBooleanInput(`verify`, { required: true })) {
|
||||
const cmdVerify = `${binPath} config verify`
|
||||
let cmdVerify = `${binPath} config verify`
|
||||
if (userArgsMap.get("config")) {
|
||||
cmdVerify += ` --config=${userArgsMap.get("config")}`
|
||||
}
|
||||
|
||||
core.info(`Running [${cmdVerify}] in [${cmdArgs.cwd || process.cwd()}] ...`)
|
||||
|
||||
|
Reference in New Issue
Block a user