Skip to content

Commit 055cc0c

Browse files
DaanDeMeyerjacobdufault
authored andcommitted
fix build.py on Windows
1 parent b3b92e2 commit 055cc0c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22

33
import subprocess
44
import sys
5+
from os.path import join
56

67
if __name__ == "__main__":
78
OUT = 'out/cquery.vsix'
8-
VSCE = 'node_modules/.bin/' + ('vsce.cmd' if sys.platform == 'win32' else 'vsce')
9+
VSCE = 'vsce.cmd' if sys.platform == 'win32' else 'vsce'
10+
VSCE = join('node_modules', '.bin', VSCE)
911
sys.exit(subprocess.call([VSCE, 'package', '-o', OUT]))

0 commit comments

Comments
 (0)