Skip to content

Commit

Permalink
make every notifications dismissable
Browse files Browse the repository at this point in the history
  • Loading branch information
aviatesk committed Oct 28, 2019
1 parent 7b26300 commit dae8780
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/runtime/refactor.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,14 @@ class Refactor {
}
if (result.warning) {
atom.notifications.addWarning('Julia Client: Rename Refactor', {
description: result.warning
description: result.warning,
dismissable: true
})
}
if (result.error) {
atom.notifications.addError('Julia Client: Rename Refactor', {
description: result.error
description: result.error,
dismissable: true
})
}
})
Expand Down

0 comments on commit dae8780

Please sign in to comment.