tools: Make "file" key in notifications consistant

### Description

2 calls to `notify.cc_verbose` used the a FileRef object in place of
the file's name. Other calls to `notify.cc_info` would use just the
file name. This PR changes these 2 calls to be consistant with the rest.

### Pull request type

    [x] Fix
    [ ] Refactor
    [ ] Target update
    [ ] Functionality change
    [ ] Breaking change
pull/8276/head
Jimmy Brisson 2018-09-27 15:31:35 -05:00
parent 6b85ec7c57
commit 6282b5f0c4
1 changed files with 2 additions and 2 deletions

View File

@ -420,7 +420,7 @@ class mbedToolchain:
self.compiled += 1 self.compiled += 1
self.progress("compile", item['source'].name, build_update=True) self.progress("compile", item['source'].name, build_update=True)
for res in result['results']: for res in result['results']:
self.notify.cc_verbose("Compile: %s" % ' '.join(res['command']), result['source']) self.notify.cc_verbose("Compile: %s" % ' '.join(res['command']), result['source'].name)
self.compile_output([ self.compile_output([
res['code'], res['code'],
res['output'], res['output'],
@ -458,7 +458,7 @@ class mbedToolchain:
self.compiled += 1 self.compiled += 1
self.progress("compile", result['source'].name, build_update=True) self.progress("compile", result['source'].name, build_update=True)
for res in result['results']: for res in result['results']:
self.notify.cc_verbose("Compile: %s" % ' '.join(res['command']), result['source']) self.notify.cc_verbose("Compile: %s" % ' '.join(res['command']), result['source'].name)
self.compile_output([ self.compile_output([
res['code'], res['code'],
res['output'], res['output'],