mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 13:26:07 +00:00
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));
|
|||
}
|