We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab52362 commit 811fb1dCopy full SHA for 811fb1d
build/demos.js
@@ -90,7 +90,7 @@ function build(project, dir){
90
link: '/demos/?demo=' + demo,
91
description: yamlHeader
92
}
93
- fs.writeFile(demoPath + '.json', JSON.stringify(jsFiddle, null, 2));
+ fs.writeFile(path.join(dir, demo + '.json'), JSON.stringify(jsFiddle, null, 2));
94
});
95
fs.writeFile(dir + '/toc-demos.json', JSON.stringify(tocDemos, null, 2));
96
0 commit comments