summaryrefslogtreecommitdiff
path: root/cli/tools/task.rs
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2023-06-26 15:10:27 +0200
committerGitHub <noreply@github.com>2023-06-26 09:10:27 -0400
commit801b9ec62d94f201e67d053ee90dae0b70e50a42 (patch)
tree145f840c570dd72258ef309e9d31f100a5aa5786 /cli/tools/task.rs
parentad3c494b46c97f0cf91098b7ec2afa576ea7a3dd (diff)
chore: fix typos (#19572)
Diffstat (limited to 'cli/tools/task.rs')
-rw-r--r--cli/tools/task.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tools/task.rs b/cli/tools/task.rs
index 7dd7e7bc4..f99e7431c 100644
--- a/cli/tools/task.rs
+++ b/cli/tools/task.rs
@@ -145,7 +145,7 @@ fn get_script_with_args(script: &str, options: &CliOptions) -> String {
.argv()
.iter()
// surround all the additional arguments in double quotes
- // and santize any command substition
+ // and sanitize any command substitution
.map(|a| format!("\"{}\"", a.replace('"', "\\\"").replace('$', "\\$")))
.collect::<Vec<_>>()
.join(" ");