UNPKG

526 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.hdiUtil = void 0;
4const builder_util_1 = require("builder-util");
5async function hdiUtil(args) {
6 return (0, builder_util_1.retry)(() => (0, builder_util_1.exec)("hdiutil", args), 5, 1000, 2000, 0, (error) => {
7 builder_util_1.log.error({ args, code: error.code, error: (error.message || error).toString() }, "unable to execute hdiutil");
8 return true;
9 });
10}
11exports.hdiUtil = hdiUtil;
12//# sourceMappingURL=hdiuil.js.map
\No newline at end of file