Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
Signed-off-by: Ibrahim AshShohail <[email protected]>
  • Loading branch information
ibrasho committed Sep 22, 2017
1 parent 24bf56f commit 2b7d61b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/gps/prune.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ func collectUnusedPackagesFiles(projectDir string, unusedPackages map[string]str
return errors.Wrap(err, "unexpected error while calculating unused packages")
}

pkg = filepath.ToSlash(pkg)
if _, ok := unusedPackages[pkg]; ok {
files = append(files, path)
}
Expand Down

0 comments on commit 2b7d61b

Please sign in to comment.