Skip to content

Commit c9e0ea4

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 91e7f10 commit c9e0ea4

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
@@ -463,7 +463,7 @@ runs:
463463
$env.UV_INSTALL_DIR = $action_path | path join 'bin'
464464
$env.UV_CACHE_DIR = $env.RUNNER_TEMP | path join 'cpp-linter-action-cache'
465465
466-
let args = [
466+
mut args = [
467467
'--style=${{ inputs.style }}'
468468
'--extensions=${{ inputs.extensions }}'
469469
'--tidy-checks=${{ inputs.tidy-checks }}'

0 commit comments

Comments
 (0)