Created
July 20, 2015 14:59
-
-
Save stormwarning/634e5ee89af16355afa4 to your computer and use it in GitHub Desktop.
Fix CLI Linter path setup in Atom.
This file contains 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
# | |
# Fix CLI Linter path setup. | |
# | |
# @since 1.0.2 | |
# @link https://github.com/AtomLinter/Linter/issues/726 | |
# | |
childProcess = require( 'child_process' ); | |
process.env.PATH = String( | |
childProcess.execFileSync(\ | |
process.env.SHELL, | |
['-c', 'source $HOME/.bash_profile; echo $PATH'] | |
) | |
).trim() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment