UNPKG

purs-pkg-deps

Version:

Query package dependencies in PureScript package-sets

21 lines (17 loc) 372 B
/* global exports */ "use strict"; // module Test.Spec.Runner exports.exit = function(code) { return function() { try { if (process && typeof process.exit === 'function') { process.exit(code); } } catch(e) {} try { if (phantom && typeof phantom.exit === 'function') { phantom.exit(code); } } catch(e) {} }; }