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:
Bardur Pihl
2018-07-10 09:45:40 +02:00
committed by GitHub

View File

@@ -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;
}