"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.genTempFile=genTempFile;const tslib_1=require("tslib"),fs_1=tslib_1.__importDefault(require("fs"));function genTempFile(){let e={};try{const t=require("tmp");t.setGracefulCleanup(),e=t.fileSync({mode:420,prefix:"",postfix:""}),fs_1.default.closeSync(e.fd)}catch(e){throw new Error("[encryptLocalFile failed] write compileresult to tmp file failed: "+e.message)}return e}