diff --git a/dist/post_run/index.js b/dist/post_run/index.js index 315c400..c14269d 100644 --- a/dist/post_run/index.js +++ b/dist/post_run/index.js @@ -93015,6 +93015,9 @@ async function runLint(binPath, patchPath) { if (!userArgNames.has(`path-prefix`)) { addedArgs.push(`--path-prefix=${workingDirectory}`); } + if (!userArgNames.has(`path-mode`)) { + addedArgs.push(`--path-mode=abs`); + } cmdArgs.cwd = path.resolve(workingDirectory); } await runVerify(binPath, userArgsMap, cmdArgs); diff --git a/dist/run/index.js b/dist/run/index.js index 3547855..7b6da96 100644 --- a/dist/run/index.js +++ b/dist/run/index.js @@ -93015,6 +93015,9 @@ async function runLint(binPath, patchPath) { if (!userArgNames.has(`path-prefix`)) { addedArgs.push(`--path-prefix=${workingDirectory}`); } + if (!userArgNames.has(`path-mode`)) { + addedArgs.push(`--path-mode=abs`); + } cmdArgs.cwd = path.resolve(workingDirectory); } await runVerify(binPath, userArgsMap, cmdArgs); diff --git a/src/run.ts b/src/run.ts index db02b3f..657cb87 100644 --- a/src/run.ts +++ b/src/run.ts @@ -126,6 +126,9 @@ async function runLint(binPath: string, patchPath: string): Promise { if (!userArgNames.has(`path-prefix`)) { addedArgs.push(`--path-prefix=${workingDirectory}`) } + if (!userArgNames.has(`path-mode`)) { + addedArgs.push(`--path-mode=abs`) + } cmdArgs.cwd = path.resolve(workingDirectory) }