Skip to content

Commit a851b64

Browse files
authored
Fix UnboundLocalError in VSCode generator (#237)
1 parent 6893115 commit a851b64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

izer/assets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,5 +253,5 @@ def vscode(
253253
else:
254254
# There is a non-template file to copy
255255
shutil.copy(os.path.join(directory, file), out_path)
256-
os.chmod(out_loc, stat.S_IRWXU | stat.S_IRGRP | stat.S_IWGRP | stat.S_IROTH)
256+
os.chmod(out_path, stat.S_IRWXU | stat.S_IRGRP | stat.S_IWGRP | stat.S_IROTH)
257257
# print(f"Wrote {os.path.basename(file)}") # Uncomment to debug

0 commit comments

Comments
 (0)