viddo/atom-textual-velocity

View on GitHub
lib/showWarningNotification.js

Summary

Maintainability
A
0 mins
Test Coverage
/* @flow */

export function showWarningNotification(message: string, error: Error) {
  atom.notifications.addWarning(`Textual-Velocity: ${message}:`, {
    detail: error.message,
    dismissable: true
  });
}