Skip to content

Commit 258be66

Browse files
committed
fix paths on windows
1 parent d455222 commit 258be66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

products/nativescript/app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,5 +88,5 @@ def update(app_name, modules=True, angular=True, typescript=False, web_pack=True
8888
# on win when `npm i` is executed with path to .tgz it saves in package.json unix style path
8989
# which cannot be resolved on win
9090
if Settings.HOST_OS == OSType.WINDOWS:
91-
packageJson = os.path.join(Settings.TEST_RUN_HOME, app_name, 'package.json')
92-
File.replace(packageJson, 'file://', 'file:\\\\')
91+
packageJson = os.path.join(Settings.TEST_RUN_HOME, app_name, 'package.json')
92+
File.replace(packageJson, 'file://', '\\\\\\\\')

0 commit comments

Comments
 (0)