Index: build_apprtc_appengine_app.py |
diff --git a/build_apprtc_appengine_app.py b/build_apprtc_appengine_app.py |
index 9d15b7557afed2b10a12461237269280b6f52f6e..32f98534e1f1afcb08a40cd741b44165202da053 100755 |
--- a/build_apprtc_appengine_app.py |
+++ b/build_apprtc_appengine_app.py |
@@ -35,7 +35,7 @@ def _WorkAroundMacNpmCorruptedDataOnInstall(command): |
print 'Wiping .npm folder and trying again...' |
npm_storage = os.path.expanduser('~/.npm') |
assert npm_storage.endswith('.npm') |
- shutil.rmtree(npm_storage, ignore_errors=True) |
+ utils.RemoveDirectory(npm_storage) |
utils.RunSubprocessWithRetry(command) |
@@ -49,7 +49,7 @@ def main(): |
_WorkaroundPhantomJsOnWin(apprtc_path) |
os.chdir(apprtc_path) |
- |
+ |
if utils.GetPlatform() is 'win': |
npm_bin = os.path.join(node_path, 'npm.cmd') |
node_bin = os.path.join(node_path, 'node.exe') |