plan tasks
This commit is contained in:
parent
00b7fdcfef
commit
7bf94e84c8
|
@ -12,6 +12,7 @@ if (!sourceFilePath) {
|
|||
console.error('pas de fichier à ouvrir')
|
||||
}
|
||||
let headers = []
|
||||
let tasksObjectsForJsonExport = []
|
||||
let headersByKind = {}
|
||||
|
||||
|
||||
|
@ -56,6 +57,8 @@ fs.readFile(sourceFilePath, 'utf8', function (err, data) {
|
|||
console.log('nombre de headers', headers.length)
|
||||
keywordList.forEach(keyword => console.log('nombre de headers',keyword, headersByKind[keyword]?.length))
|
||||
|
||||
writeJsonFile();
|
||||
|
||||
return;
|
||||
})
|
||||
|
||||
|
@ -76,4 +79,9 @@ function createNewHeaderKind(keyword) {
|
|||
if (!headersByKind[keyword]) {
|
||||
headersByKind[keyword] = [];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function writeJsonFile(){
|
||||
// TODO write json
|
||||
}
|
Loading…
Reference in New Issue