Skip to content

Commit

Permalink
debug output to help identify the yapf found via search
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-kane committed Apr 5, 2019
1 parent df1d6b9 commit e1ee292
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions PyYapf.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,9 @@ def find_yapf(self):
for maybe_cmd in ['yapf', 'yapf3', 'yapf.exe', 'yapf3.exe']:
if not cmd:
cmd = which(maybe_cmd)
if cmd:
self.debug('Found yapf: %s', cmd)
break

if cmd and save_settings:
settings = sublime.load_settings(PLUGIN_SETTINGS_FILE)
Expand Down

0 comments on commit e1ee292

Please sign in to comment.