From fb45c23bc6fa9c2ad0e4e26fac5285ddd580c978 Mon Sep 17 00:00:00 2001 From: drudgesentinel Date: Fri, 12 Jan 2024 20:10:08 +0000 Subject: [PATCH] Update src/main.ts --- src/main.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.ts b/src/main.ts index c9625f5..8537e0f 100644 --- a/src/main.ts +++ b/src/main.ts @@ -11,6 +11,7 @@ const checkForCommonFunctions = async (functionsArray: Array) => { for (const i of functionsArray) { const exitCode = await ripGrep(i); // exitCode of 0 indicates a match in ripGrep + // TODO: Add check to sentinel.hcl to prevent writing duplicate entries if(exitCode === 0) { console.log(`found import ${i}, appending to sentinel.hcl`); // Add heredoc to sentinel.hcl file if a match is found