Skip to content

Commit 640601d

Browse files
committed
fix: change args from let to mut for reassignment compatibility
Fixes Nu parser error: Error: nu::parser::assignment_requires_mutable_variable '' needs to be a mutable variable to support append ['--fix'] Use 'mut args' instead of 'let args'
1 parent f307fc0 commit 640601d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ runs:
454454
$env.UV_INSTALL_DIR = $action_path | path join 'bin'
455455
$env.UV_CACHE_DIR = $env.RUNNER_TEMP | path join 'cpp-linter-action-cache'
456456
457-
let args = [
457+
mut args = [
458458
'--style=${{ inputs.style }}'
459459
'--extensions=${{ inputs.extensions }}'
460460
'--tidy-checks=${{ inputs.tidy-checks }}'

0 commit comments

Comments
 (0)