You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scoop update failed. Folder in use. Paste $newdir into $currentdir.
Since .git is a hidden folder, the user may copy contents except .git from old folder to new folder, resulting .git is still missing.
I think tell the user to rename folder would be a better choice.
Describe alternatives you've considered
Ask to user to rename folders may be a better choice, such as
Scoop update failed. Folder in use. Please rename folders $currentdir to `old` and $newdir to `current` manually.
The text was updated successfully, but these errors were encountered:
The problem is that the directory is occupied by scoop when running scoop update, so it needs to be fixed by the user.
And if a user didn't copy the hidden.git folder from $newdir to old directory, he needs to copy everything from new directory every time.
Scoop Core Dir will not be occupied when executing scoop update, unless you have opened it or it's sub-files in another program. e.g. A terminal cd to the dir
Your change request for this instruction is correct, because the .git dir may not included when copying.
Feature Request
Is your feature request related to a problem? Please describe.
It's not a real problem. Just an advice for better description for error handling.
Describe the solution you'd like
Currently, the code shows
Since
.git
is a hidden folder, the user may copy contents except.git
from old folder to new folder, resulting.git
is still missing.I think tell the user to rename folder would be a better choice.
Describe alternatives you've considered
Ask to user to rename folders may be a better choice, such as
The text was updated successfully, but these errors were encountered: