mirror of https://github.com/status-im/consul.git
5 lines
142 B
JavaScript
5 lines
142 B
JavaScript
import { Promise } from 'rsvp';
|
|||
export default function(message, confirmation = confirm) {
|
|||
return Promise.resolve(confirmation(message));
|
|||
}
|