Skip to content

Commit 06e3533

Browse files
committed
fix: patch gulpfile
1 parent d30ab1b commit 06e3533

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

raw/gulpfile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import gulpEsbuild from 'gulp-esbuild';
2828
import stripJsonComments from 'strip-json-comments';
2929

3030
function getJSON(fileName) {
31-
return stripJsonComments(readFileSync(fileName, 'utf-8'));
31+
return JSON.parse(stripJsonComments(readFileSync(fileName, 'utf-8')));
3232
}
3333

3434
function get_mojang_dir() {

0 commit comments

Comments
 (0)