diff --git a/Examples/cd.swift b/Examples/cd.swift index 2946f00..05d7155 100644 --- a/Examples/cd.swift +++ b/Examples/cd.swift @@ -6,7 +6,7 @@ let currentDir = Script().exec("pwd").asString() let d = Script() .cd(to: "../") - .cd(to: "./") + .cd(to: "-") .exec("pwd") .match(currentDir) .exec("echo 'Test Success'")