This repository has been archived by the owner on Sep 9, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1k
dep prune is deleting the entire folder (on Windows only) #775
Labels
Comments
ibrasho
added a commit
to ibrasho-forks/dep
that referenced
this issue
Jun 21, 2017
dep.calculatePrune assumes "/" is the file separtor. This change fixes an issue caused by that on Windows. Fixes golang#775 Signed-off-by: Ibrahim AshShohail <[email protected]>
ibrasho
added a commit
to ibrasho-forks/dep
that referenced
this issue
Jun 21, 2017
dep.calculatePrune assumes "/" is the file separtor. This change fixes an issue caused by that on Windows. Fixes golang#775 Signed-off-by: Ibrahim AshShohail <[email protected]>
@andreynering could you please try the PR and confirm if it solves the issue? |
@ibrasho Sorry, it's not fixed yet. But the behavior changed a little. Before I had an empty vendor:
Now I have the next level of folder, but they're empty:
|
What does Edit: I've updated the PR after your comment. Please try it again if you have time. |
ibrasho
added a commit
to ibrasho-forks/dep
that referenced
this issue
Jun 21, 2017
dep.calculatePrune assumes "/" is the file separtor. This change fixes an issue caused by that on Windows. Fixes golang#775 Signed-off-by: Ibrahim AshShohail <[email protected]>
ibrasho
added a commit
to ibrasho-forks/dep
that referenced
this issue
Jun 21, 2017
dep.calculatePrune assumes "/" is the file separtor. This change fixes an issue caused by that on Windows. Fixes golang#775 Signed-off-by: Ibrahim AshShohail <[email protected]>
ibrasho
added a commit
to ibrasho-forks/dep
that referenced
this issue
Jun 21, 2017
dep.calculatePrune assumes "/" is the file separtor. This change fixes an issue caused by that on Windows. Fixes golang#775 Signed-off-by: Ibrahim AshShohail <[email protected]>
ibrasho
added a commit
to ibrasho-forks/dep
that referenced
this issue
Jun 21, 2017
dep.calculatePrune assumes "/" is the file separtor. This change fixes an issue caused by that on Windows. Fixes golang#775 Signed-off-by: Ibrahim AshShohail <[email protected]>
ibrasho
added a commit
to ibrasho-forks/dep
that referenced
this issue
Jun 22, 2017
dep.calculatePrune assumes "/" is the file separtor. This change fixes an issue caused by that on Windows. Fixes golang#775 Signed-off-by: Ibrahim AshShohail <[email protected]>
ibrasho
added a commit
to ibrasho-forks/dep
that referenced
this issue
Jun 22, 2017
dep.calculatePrune assumes "/" is the file separtor. This change fixes an issue caused by that on Windows. Fixes golang#775 Signed-off-by: Ibrahim AshShohail <[email protected]>
ibrasho
added a commit
to ibrasho-forks/dep
that referenced
this issue
Jun 22, 2017
dep.calculatePrune assumes "/" is the file separtor. This change fixes an issue caused by that on Windows. Fixes golang#775 Signed-off-by: Ibrahim AshShohail <[email protected]>
ibrasho
added a commit
to ibrasho-forks/dep
that referenced
this issue
Jun 23, 2017
dep.calculatePrune assumes "/" is the file separtor. This change fixes an issue caused by that on Windows. Fixes golang#775 Signed-off-by: Ibrahim AshShohail <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What version of Go (
go version
) anddep
(git describe --tags
) are you using?Description
On Windows only,
dep prune
is deleting everything insidevendor
leaving the folder empty. On Linux, it's working as intended.I tried on two different projects. These are the files of one of them:
dep prune -v
The text was updated successfully, but these errors were encountered: