mirror of
https://github.com/coreybutler/nvm-windows.git
synced 2026-01-14 07:03:17 +08:00
Merge pull request #356 from s-h-a-d-o-w/patch-1
Fixes #252 - Need to manually remove folder on nvm uninstall
This commit is contained in:
@@ -34,10 +34,12 @@ func SearchBytesInFile( path string, match string, limit int) bool {
|
||||
if bit[0] == toMatch[j] {
|
||||
j++;
|
||||
if (j >= len(toMatch)) {
|
||||
file.Close();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
file.Close();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user