diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-12-11 14:12:16 -0500 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-12-11 15:07:38 -0500 |
commit | bba1a0d44aa3dd58bd0de53f37982ef270c7a176 (patch) | |
tree | 9b9d3dfac254e4b0e522e1dca47396763b6e7a81 /js/compiler.ts | |
parent | 8d3e8b1c642996719fccf594ea3e36d448adf9f8 (diff) |
tools: remove_and_symlink can be skipped on unix
This is more optimial and this fixes a problem where occasionally
remove_and_symlink will error with:
gen/compiler_bundle/main.js --sourcemapFile /Users/rld/src/deno --silent
Traceback (most recent call last):
File "../../tools/run_node.py", line 18, in <module>
util.remove_and_symlink(target_rel, "node_modules", True)
File "/Users/rld/src/deno/tools/util.py", line 103, in remove_and_symlink
symlink(target, name, target_is_dir)
File "/Users/rld/src/deno/tools/util.py", line 141, in symlink
os.symlink(target, name)
OSError: [Errno 17] File exists
Diffstat (limited to 'js/compiler.ts')
0 files changed, 0 insertions, 0 deletions