Skip to content

Commit

Permalink
copy marked.cjs to marked.js
Browse files Browse the repository at this point in the history
  • Loading branch information
echarles committed Mar 27, 2023
1 parent ed4c5af commit f574b01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setupbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ def run(self):
env=env
)
# Copy the CommonJS files to their JavaScript equivalent to ensure correct loading.
# shutil.copyfile(pjoin(self.bower_dir, "marked", "lib", "marked.cjs"), pjoin(self.bower_dir, "marked", "lib", "marked.js"))
shutil.copyfile(pjoin(self.bower_dir, "marked", "lib", "marked.cjs"), pjoin(self.bower_dir, "marked", "lib", "marked.js"))
except OSError as e:
print("Failed to run bower: %s" % e, file=sys.stderr)
print("You can install js dependencies with `npm install`", file=sys.stderr)
Expand Down

0 comments on commit f574b01

Please sign in to comment.