Skip to content

Commit 811fb1d

Browse files
fix path 404
1 parent ab52362 commit 811fb1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/demos.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ function build(project, dir){
9090
link: '/demos/?demo=' + demo,
9191
description: yamlHeader
9292
}
93-
fs.writeFile(demoPath + '.json', JSON.stringify(jsFiddle, null, 2));
93+
fs.writeFile(path.join(dir, demo + '.json'), JSON.stringify(jsFiddle, null, 2));
9494
});
9595
fs.writeFile(dir + '/toc-demos.json', JSON.stringify(tocDemos, null, 2));
9696
}

0 commit comments

Comments
 (0)