Skip to content

Commit

Permalink
Fix build script for PlatformIndicators
Browse files Browse the repository at this point in the history
  • Loading branch information
domi-btnr committed Nov 3, 2024
1 parent 6130270 commit 038ff39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PlatformIndicators/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
}
],
"changelogDate": "2024-11-03"
}
}
2 changes: 1 addition & 1 deletion scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,8 @@ const buildPlugin = (pluginFolder, makeFolder) => {
fs.mkdirSync(folder);
}

const folderName = manifest.name === "APlatformIndicators" ? "PlatformIndicators" : manifest.name;
if (makeFolder) {
const folderName = manifest.name === "APlatformIndicators" ? "PlatformIndicators" : manifest.name;
const folder = path.resolve(process.cwd(), "builds", folderName);
if (!fs.existsSync(folder)) fs.mkdirSync(folder);
if (fs.existsSync(path.resolve(folderName, "README.md")))
Expand Down

0 comments on commit 038ff39

Please sign in to comment.