4 of 6 standards met
When using Fix-path with Electron and electron-packager, it breaks the ability for the user to quit the application from the dock after packaging. Right clicking the doc-icon and selecting "Quit" does nothing. This is explained in better detail here: https://github.com/electron/electron/issues/8687 . For a minimal application reproducing the problem, see https://github.com/electron/electron/issues/8687#issuecomment-285933916
I am using this in my vscode-yo plugin and noticed something strange. I upgraded some dotfiles of today and since then, the plugin wasn't showing any generators anymore. After investigating this, ANSI color codes where added in front of the path. After some more investigation, it seems that these lines in my dot-files trigger this behaviour. If I remove these lines, the ANSI code is not added. Fix A simple fix is strip-ansi But maybe, this should be fixed somewhere deeper in the chain. After digging into with does, I came to this line 72 in . This is the line that returns the path with the ANSI color codes.
Repository: sindresorhus/fix-path. Description: Fix the $PATH on macOS and Linux when run from a GUI app Stars: 300, Forks: 25. Primary language: JavaScript. License: MIT. Open PRs: 0, open issues: 0. Last activity: 5mo ago. Community health: 71%. Top contributors: sindresorhus, callumacrae, Richienb, YS-FE.