mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-10 13:37:04 +03:00
Create dir when building if needed.
This commit is contained in:
@@ -42,6 +42,7 @@ class BuildManifest {
|
|||||||
let result = JSON.stringify(manifest);
|
let result = JSON.stringify(manifest);
|
||||||
if (this.options.pretty) result = JSON.stringify(manifest, null, 2);
|
if (this.options.pretty) result = JSON.stringify(manifest, null, 2);
|
||||||
|
|
||||||
|
fs.mkdirSync(distManifestFile);
|
||||||
fs.writeFileSync(distManifestFile, result);
|
fs.writeFileSync(distManifestFile, result);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user