mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 16:25:21 +00:00
Removed creation of output directory in the main path
This commit is contained in:
6
index.js
6
index.js
@@ -355,12 +355,8 @@ function RequestHandler(request, response) {
|
||||
}
|
||||
|
||||
archive.append(Buffer.from(JSON.stringify(manifest), "utf8"), { name: "manifest.json" });
|
||||
|
||||
let signatureBuffer = createSignature(manifest);
|
||||
|
||||
if (!fs.existsSync("output")) {
|
||||
fs.mkdirSync("output");
|
||||
}
|
||||
let signatureBuffer = createSignature(manifest);
|
||||
|
||||
archive.append(signatureBuffer, { name: "signature" });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user