Skip to content

Commit

Permalink
removed 'Using rustfmt config file...' from rustfmt response
Browse files Browse the repository at this point in the history
  • Loading branch information
DamnWidget committed Jul 18, 2016
1 parent 0b13178 commit d45d740
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugin/handlers_rust/commands/rustfmt.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ def rustfmt(self):
output = output.decode('utf8')
err = err.decode('utf8')

result = output
header = 'Using rustfmt config file '
result = '\n'.join(
[l for l in output.splitlines() if not l.startswith(header)])

# delete temporary file
if os.path.exists(self.filename):
Expand Down

0 comments on commit d45d740

Please sign in to comment.