Skip to content

Commit 17c5e07

Browse files
committed
chore: naming consistency
1 parent 0828e70 commit 17c5e07

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/run.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,10 +173,10 @@ const printOutput = (res: ExecRes): void => {
173173
}
174174
}
175175

176-
async function runLint(lintPath: string, patchPath: string): Promise<void> {
176+
async function runLint(binPath: string, patchPath: string): Promise<void> {
177177
const debug = core.getInput(`debug`)
178178
if (debug.split(`,`).includes(`cache`)) {
179-
const res = await execShellCommand(`${lintPath} cache status`)
179+
const res = await execShellCommand(`${binPath} cache status`)
180180
printOutput(res)
181181
}
182182

@@ -266,7 +266,7 @@ async function runLint(lintPath: string, patchPath: string): Promise<void> {
266266
cmdArgs.cwd = path.resolve(workingDirectory)
267267
}
268268

269-
const cmd = `${lintPath} run ${addedArgs.join(` `)} ${userArgs}`.trimEnd()
269+
const cmd = `${binPath} run ${addedArgs.join(` `)} ${userArgs}`.trimEnd()
270270

271271
core.info(`Running [${cmd}] in [${cmdArgs.cwd || process.cwd()}] ...`)
272272

0 commit comments

Comments
 (0)