未验证 提交 50cef2e6 编写于 作者: A Andreas Opferkuch 提交者: GitHub

Fixes #252 - Need to manually remove folder on nvm uninstall

File handle when checking the architecture of the node executable was left open.
上级 24c57b88
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册