Skip to content

Commit 15f9bbe

Browse files
authored
fix(update): Change error message to a better instruction (#5677)
* fix(update): Change error message to a better instruction * Update CHANGELOG.md
1 parent ab34b7f commit 15f9bbe

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
- **scoop-virustotal:** Fix `scoop-virustotal` when `--all` has been passed without app ([#5593](https://github.com/ScoopInstaller/Scoop/pull/5593))
3535
- **scoop-checkup:** Change the message level of helpers from ERROR to WARN ([#5549](https://github.com/ScoopInstaller/Scoop/issues/5614))
3636
- **scoop-(un)hold:** Correct output the messages when manifest not found, (already|not) held ([#5519](https://github.com/ScoopInstaller/Scoop/issues/5519))
37+
- **scoop-update:** Change error message to a better instruction ([#5677](https://github.com/ScoopInstaller/Scoop/issues/5677))
3738

3839
### Performance Improvements
3940

libexec/scoop-update.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ function Sync-Scoop {
8989
Rename-Item $newdir 'current' -ErrorAction Stop
9090
} catch {
9191
Write-Warning $_
92-
abort "Scoop update failed. Folder in use. Paste $newdir into $currentdir."
92+
abort "Scoop update failed. Folder in use. Please rename folders $currentdir to ``old`` and $newdir to ``current``."
9393
}
9494
}
9595
} else {

0 commit comments

Comments
 (0)