goes to right directory
parent
7e46b79d29
commit
f830fea7c1
2
index.js
2
index.js
|
@ -161,7 +161,7 @@ function parseAll(dirArray){
|
|||
type: 'root',
|
||||
children: rootChildren
|
||||
}
|
||||
fs.writeFile('../parser/root.json', JSON.stringify(rootJson, null, 3), function(err) {
|
||||
fs.writeFile('./parser/root.json', JSON.stringify(rootJson, null, 3), function(err) {
|
||||
if (err) {
|
||||
console.log(err);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue