Skip to content

Commit f574b01

Browse files
committed
copy marked.cjs to marked.js
1 parent ed4c5af commit f574b01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setupbase.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ def run(self):
418418
env=env
419419
)
420420
# Copy the CommonJS files to their JavaScript equivalent to ensure correct loading.
421-
# shutil.copyfile(pjoin(self.bower_dir, "marked", "lib", "marked.cjs"), pjoin(self.bower_dir, "marked", "lib", "marked.js"))
421+
shutil.copyfile(pjoin(self.bower_dir, "marked", "lib", "marked.cjs"), pjoin(self.bower_dir, "marked", "lib", "marked.js"))
422422
except OSError as e:
423423
print("Failed to run bower: %s" % e, file=sys.stderr)
424424
print("You can install js dependencies with `npm install`", file=sys.stderr)

0 commit comments

Comments
 (0)