github-pages-deploy-action/node_modules/core-js-pure/internals/fails.js
2020-03-06 22:45:40 -05:00

8 lines
108 B
JavaScript

module.exports = function (exec) {
try {
return !!exec();
} catch (error) {
return true;
}
};