From f574b01ccf1d60a4eec8a989eff79210948aa092 Mon Sep 17 00:00:00 2001 From: Eric Charles Date: Mon, 27 Mar 2023 10:17:39 +0200 Subject: [PATCH] copy marked.cjs to marked.js --- setupbase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setupbase.py b/setupbase.py index 406fedaca..19b397e4a 100644 --- a/setupbase.py +++ b/setupbase.py @@ -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)