mixn / carbon-now-cli

🎨 Beautiful images of your code — from right inside your terminal.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bad folder handling on Windows

popey456963 opened this issue · comments

When you run the following command:

carbon-now -h C:\Users\USER1\AppData\Local\Temp\tmp-21636fth6rhRO9IAw\M3EDyV9G2G.txt -t C:\Users\USER\AppData\Local\Temp\tmp-21636fth6rhRO9IAw\M3EDyV9G2G.txt

It doesn't understand the absolute path:

Error: ENOENT: no such file or directory, rename 'C:\Users\USER\Documents\Github\femto-apps\web-file-uploader\carbon.png' -> 'C:\Users\USER\Documents\Github\femto-apps\web-file-uploader\C:\Users\USER\AppData\Local\Temp\tmp-21636fth6rhRO9IAw\M3EDyV9G2G.txt.png'

@popey456963 You are importing the file from a directory of a different user USER1 and saving the image in a sub directory of the user USER. Give a clarification on this if it was a typo error.

Sorry, this was a typo. There was a single user involved that I editted out for privacy.

@popey456963 The problem is resolved. So the issue can be closed.

@prakhargurunani @popey456963 Thank you!