aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 3e857bfdd..1bbeaa6f4 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;").replace(/([^;]*)$/, "$1;"));
+print( src.replace( /^(\s*\*\/)(.+)/m, "$1\n$2" ) + ";" );