Created
May 25, 2025 09:18
-
-
Save oAnblu/6ef082cbc807bc3d51686a316b081383 to your computer and use it in GitHub Desktop.
node linux.js pwease make me directory pwease im begging, its name is 'uwu' please make it here in this directory
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as fs from "fs/promises"; | |
async function main(args) { | |
// pwease make me directory pwease im begging, its name is 'uwu' please make it here in this directory | |
// this was painful to write | |
if ( | |
args[0] !== "pwease" || | |
args[1] !== "make" || | |
args[2] !== "me" || | |
args[3] !== "directory" || | |
args[4] !== "pwease" || | |
args[5] !== "im" || | |
args[6] !== "begging," || | |
args[7] !== "its" || | |
args[8] !== "name" || | |
args[9] !== "is" || | |
args[11] !== "please" || | |
args[12] !== "make" || | |
args[13] !== "it" || | |
args[14] !== "here" || | |
args[15] !== "in" || | |
args[16] !== "this" || | |
args[17] !== "directory" | |
) { | |
console.error("Error: wrong."); | |
process.exit(1); | |
} | |
const name = args[10].replaceAll("'", ""); | |
await fs.mkdir(name); | |
} | |
main(process.argv.slice(2)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment