puntorigen / recover-source

Light up your lost JS/TS source code with Recover-Source! πŸš€ This handy CLI tool recovers and revives your original source code from a directory packed with minified/uglified .js or .ts files, including their respective sourcemap files. Reveal the original beauty of your code, just as it was before the compilation process. Happy code hunting! πŸ•΅οΈβ€β™‚

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This doesn't work

iliakan opened this issue Β· comments

Prettier is undefined.

And then, if I fix it, on github copilot extension.js code:

➜  dist recover-source -i .
node:internal/fs/utils:916
    throw new ERR_INVALID_ARG_TYPE(
          ^

TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received an instance of Promise
    at Object.writeFileSync (node:fs:2335:5)
    at /opt/local/lib/node_modules/recover-source/index.js:86:16