mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-10 01:01:55 +01:00
Create dir when building if needed.
This commit is contained in:
parent
09a33c4252
commit
6d312e7ba7
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@ class BuildManifest {
|
|||
let result = JSON.stringify(manifest);
|
||||
if (this.options.pretty) result = JSON.stringify(manifest, null, 2);
|
||||
|
||||
fs.mkdirSync(distManifestFile);
|
||||
fs.writeFileSync(distManifestFile, result);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue