'use strict';
module.exports = function promiseTry(func) {
return new Promise(function(resolve, reject) {
resolve(func());
});
}