Skip to content

Commit 0fb5309

Browse files
committed
try to fix windows path for database
1 parent 8121f26 commit 0fb5309

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,8 @@ runs:
391391
$env.UV_INSTALL_DIR = $action_path | path join 'bin'
392392
$env.UV_CACHE_DIR = $env.RUNNER_TEMP | path join 'cpp-linter-action-cache'
393393
394+
let database = '${{ inputs.database }}' | str replace '\' '\\'
395+
394396
let args = [
395397
'--style=${{ inputs.style }}'
396398
--extensions '${{ inputs.extensions }}'
@@ -406,7 +408,7 @@ runs:
406408
'--ignore=${{ inputs.ignore }}'
407409
'--ignore-tidy=${{ inputs.ignore-tidy }}'
408410
'--ignore-format=${{ inputs.ignore-format }}'
409-
--database ${{ inputs.database }}
411+
--database $database
410412
--file-annotations ${{ inputs.file-annotations }}
411413
'--extra-arg=${{ inputs.extra-args }}'
412414
--tidy-review ${{ inputs.tidy-review }}

0 commit comments

Comments
 (0)