1 | var __importDefault = (this && this.__importDefault) || function (mod) {
|
2 | return (mod && mod.__esModule) ? mod : { "default": mod };
|
3 | };
|
4 | (function (factory) {
|
5 | if (typeof module === "object" && typeof module.exports === "object") {
|
6 | var v = factory(require, exports);
|
7 | if (v !== undefined) module.exports = v;
|
8 | }
|
9 | else if (typeof define === "function" && define.amd) {
|
10 | define(["require", "exports", "fs", "plist"], factory);
|
11 | }
|
12 | })(function (require, exports) {
|
13 | "use strict";
|
14 | Object.defineProperty(exports, "__esModule", { value: true });
|
15 | exports.writeFileSync = void 0;
|
16 | var fs_1 = __importDefault(require("fs"));
|
17 | var plist_1 = __importDefault(require("plist"));
|
18 | function writeFileSync(aFile, anObject, options) {
|
19 | var data = plist_1.default.build(anObject);
|
20 | return fs_1.default.writeFileSync(aFile, data, options);
|
21 | }
|
22 | exports.writeFileSync = writeFileSync;
|
23 | });
|