fix: ensure cli.js gets chmod 755 after install
This commit is contained in:
@@ -412,6 +412,9 @@ def install_cli_js(version, cli_js_path):
|
|||||||
shutil.copy2(cli_js_path, backup_path)
|
shutil.copy2(cli_js_path, backup_path)
|
||||||
shutil.copy2(release_cli, cli_js_path)
|
shutil.copy2(release_cli, cli_js_path)
|
||||||
|
|
||||||
|
# Ensure execute permission (755)
|
||||||
|
os.chmod(cli_js_path, 0o755)
|
||||||
|
|
||||||
# Syntax check
|
# Syntax check
|
||||||
result = subprocess.run(
|
result = subprocess.run(
|
||||||
["node", "--check", cli_js_path],
|
["node", "--check", cli_js_path],
|
||||||
|
|||||||
Reference in New Issue
Block a user