Skip to content

Commit

Permalink
Update Nodejs.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamong committed Jan 8, 2017
1 parent 8a888ad commit 8e66397
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Nodejs.py
Expand Up @@ -71,8 +71,9 @@ def run_command(self, command, callback=None, show_status=True, filter_empty_arg
if s.get('save_first') and self.active_view() and self.active_view().is_dirty():
self.active_view().run_command('save')

if command[0] == 'node' and s.get('node_command'):
command[0] = s.get('node_command')
if command[0] == 'node':
if s.get('node_command'):
command[0] = s.get('node_command')
if s.get('node_path'):
kwargs['env'] = { "NODE_PATH" : str(s.get('node_path')) }

Expand Down

0 comments on commit 8e66397

Please sign in to comment.