This commit is contained in:
Kovid Goyal 2025-12-13 16:33:07 +05:30
parent f5e5a1a1a9
commit f4f34640ca
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -242,7 +242,7 @@ def main():
# WebEngine is flaky in macOS CI so install rapydscript so bootstrap wont fail
npm = 'npm.cmd' if iswindows else 'npm'
run(npm, 'install', 'rapydscript-ng')
root = subprocess.check_output(['npm', 'root']).decode().strip()
root = subprocess.check_output([npm, 'root']).decode().strip()
with open(os.environ['GITHUB_PATH'], 'a') as f:
print(os.path.abspath(os.path.join(root, '.bin')), file=f)