MCPcopy Create free account
hub / github.com/TechJeeper/Printventory / removeGeneratedDockerfile

Function removeGeneratedDockerfile

scripts/build-linux-appimage.js:11–19  ·  view source on GitHub ↗
(dockerfilePath)

Source from the content-addressed store, hash-verified

9const DOCKERFILE_NAME = 'Dockerfile.build-linux';
10
11function removeGeneratedDockerfile(dockerfilePath) {
12 try {
13 if (fs.existsSync(dockerfilePath)) {
14 fs.unlinkSync(dockerfilePath);
15 }
16 } catch (_) {
17 // ignore cleanup errors
18 }
19}
20
21console.log('Building Linux AppImage from Windows...\n');
22

Callers 1

buildWithContainerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected