(filePath)
| 8171 | return `${(0, uuid_1.v4)()}.ps1`; |
| 8172 | } |
| 8173 | static deleteFile(filePath) { |
| 8174 | return __awaiter(this, void 0, void 0, function* () { |
| 8175 | if (fs.existsSync(filePath)) { |
| 8176 | try { |
| 8177 | fs.unlinkSync(filePath); |
| 8178 | } |
| 8179 | catch (err) { |
| 8180 | core.warning(err.toString()); |
| 8181 | } |
| 8182 | } |
| 8183 | }); |
| 8184 | } |
| 8185 | static pathExists(path) { |
| 8186 | return fs.existsSync(path); |
| 8187 | } |
no test coverage detected