Skip to content

Commit 5b2e4e0

Browse files
committed
fix: use && windows
1 parent 3ed0ed6 commit 5b2e4e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/upgrade.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ var upgradeCmd = &cobra.Command{
7878
cmdToRun = "brew update && brew upgrade canvas-sync"
7979
command = exec.Command("sh", "-c", cmdToRun)
8080
} else if IsUnderScoop() {
81-
cmdToRun = "scoop update; scoop update canvas-sync"
81+
cmdToRun = "scoop update && scoop update canvas-sync"
8282
command = exec.Command("cmd", "/C", cmdToRun)
8383
} else {
8484
pterm.Error.Printfln("Only installs via brew/scoop can be upgraded via 'canvas-sync upgrade' :(")

0 commit comments

Comments
 (0)