aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/post-compile.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/post-compile.js b/build/post-compile.js
index 4bcafe814..3e857bfdd 100644
--- a/build/post-compile.js
+++ b/build/post-compile.js
@@ -4,4 +4,4 @@ var print = require("sys").print,
src = require("fs").readFileSync(process.argv[2], "utf8");
// Previously done in sed but reimplemented here due to portability issues
-print(src.replace(/^(\s*\*\/)(.+)/m, "$1\n$2;"));
+print(src.replace(/^(\s*\*\/)(.+)/m, "$1\n$2;").replace(/([^;]*)$/, "$1;"));