mirror of
https://github.com/System-End/slack-end.git
synced 2026-04-19 16:28:19 +00:00
enhancement(lint): Fix lint errors for ctf/read_notes.js
Co-authored-by: NeonGamerBot-QK <saahilattud@gmail.com> Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
This commit is contained in:
parent
ce7234b204
commit
c69b00725c
1 changed files with 3 additions and 3 deletions
|
|
@ -5,9 +5,9 @@ const path = require("path");
|
|||
const stegcloak = new StegCloak(true, false);
|
||||
|
||||
function decrypt(str) {
|
||||
return stegcloak.reveal(str, process.env.CTF_PASSWORD);
|
||||
}
|
||||
const files = fs.readdirSync(path.join(__dirname, "notes"));
|
||||
return stegcloak.reveal(str, process.env.CTF_PASSWORD);
|
||||
}
|
||||
const files = fs.readdirSync(path.join(__dirname, "notes"));
|
||||
files.forEach((file, i) => {
|
||||
console.log(`Decrypting ${file}`);
|
||||
const data = fs.readFileSync(path.join(__dirname, "notes", file)).toString();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue