yeknal 1.1.3 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/yeknal.js +5 -0
- package/package.json +1 -1
package/bin/yeknal.js
CHANGED
|
@@ -1757,6 +1757,11 @@ async function runSecurityCommand() {
|
|
|
1757
1757
|
fs.writeFileSync(logPath, logContent);
|
|
1758
1758
|
console.log(`\n Full report: ${logPath}\n`);
|
|
1759
1759
|
|
|
1760
|
+
// Clean up downloaded files — only the log should remain
|
|
1761
|
+
if (fs.existsSync(masterDest)) {
|
|
1762
|
+
fs.unlinkSync(masterDest);
|
|
1763
|
+
}
|
|
1764
|
+
|
|
1760
1765
|
// Ensure yeknal-security.log is in .gitignore so it never gets pushed
|
|
1761
1766
|
const gitignorePath = path.join(projectDir, ".gitignore");
|
|
1762
1767
|
const logEntry = "yeknal-security.log";
|