-
Notifications
You must be signed in to change notification settings - Fork 1.8k
SC2225
Joachim Ansorg edited this page Nov 12, 2021
·
2 revisions
cp "$file $dir"
cp "$file" "$dir"
ShellCheck found a cp
command with a single parameter. This may be because the source and destination was accidentally merged into a single argument, or because the line was broken in an invalid way.
Fix the cp
statement by correctly specifying both source and destination.
None