Skip to content

Commit

Permalink
Add track name and trackId to add-track log message (#2706)
Browse files Browse the repository at this point in the history
* Add ID to add-track log message

* Clarify add-track log message
  • Loading branch information
garrettjstevens committed Feb 7, 2022
1 parent 18ac2ca commit b43ed81
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion products/jbrowse-cli/src/commands/add-track.ts
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,9 @@ export default class AddTrack extends JBrowseCommand {
await this.writeJsonFile(this.target, configContents)

this.log(
`${idx !== -1 ? 'Overwrote' : 'Added'} track "${name}" ${
`${
idx !== -1 ? 'Overwrote' : 'Added'
} track with name "${name}" and trackId "${trackId}" ${
idx !== -1 ? 'in' : 'to'
} ${this.target}`,
)
Expand Down

0 comments on commit b43ed81

Please sign in to comment.