From b938e6c5412a7aec039fabce12328c2a919b45ce Mon Sep 17 00:00:00 2001 From: Edhueppe Date: Mon, 6 Feb 2023 10:49:56 +0100 Subject: [PATCH] cleaning --- src/index.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/index.ts b/src/index.ts index 34c035b..4f93283 100644 --- a/src/index.ts +++ b/src/index.ts @@ -32,7 +32,6 @@ async function filesList(Path: string): Promise> { const files = await filesList(dirPath) console.log(files) // Filtre - // const imageFiles = (await files).filter((file) => file.endsWith('.jpg')) // .jfif | .png | .jpeg | const data = (await fs.readFile('./output.json')).toString('utf8') let json: Record = {} @@ -66,8 +65,6 @@ async function filesList(Path: string): Promise> { // Modification des données json[file] = sha256sum - // console.log('current entries', json) - // Ré-écriture dans le fichier output await fs.writeFile('output.json', JSON.stringify(json))