Skip to content

Commit

Permalink
better conditional in fetch manifest metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
mmeigs committed Feb 1, 2024
1 parent ebaebdd commit 7d6fc3f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/utils/setup/fetch-manifest-metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ const fetchManifestMetadata = () => {
console.error('No Manifest Path was found.');
return metadata;
}
}
if (process.env.GATSBY_MANIFEST_PATH) {
} else if (process.env.GATSBY_MANIFEST_PATH) {
const zip = new AdmZip(process.env.GATSBY_MANIFEST_PATH);
const zipEntries = zip.getEntries();
for (const entry of zipEntries) {
Expand Down

0 comments on commit 7d6fc3f

Please sign in to comment.