Skip to content

Commit

Permalink
fix path 404
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioCrisostomo committed Jan 24, 2015
1 parent ab52362 commit 811fb1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/demos.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ function build(project, dir){
link: '/demos/?demo=' + demo,
description: yamlHeader
}
fs.writeFile(demoPath + '.json', JSON.stringify(jsFiddle, null, 2));
fs.writeFile(path.join(dir, demo + '.json'), JSON.stringify(jsFiddle, null, 2));
});
fs.writeFile(dir + '/toc-demos.json', JSON.stringify(tocDemos, null, 2));
}

0 comments on commit 811fb1d

Please sign in to comment.