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