1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.hdiUtil = void 0;
|
4 | const builder_util_1 = require("builder-util");
|
5 | async 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 | }
|
11 | exports.hdiUtil = hdiUtil;
|
12 |
|
\ | No newline at end of file |