Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Commit

Permalink
chore: update reduce to match standard naming
Browse files Browse the repository at this point in the history
Co-authored-by: Matthew Mallimo <matthew.c.mallimo@aexp.com>
  • Loading branch information
giulianok and Matthew-Mallimo authored Apr 15, 2024
1 parent 2bd49b6 commit d2060d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/one-app-bundler/bin/bundle-external-fallbacks.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const bundleExternalFallbacks = async () => {
}

const integrityManifest = JSON.parse(fs.readFileSync(path.join(process.cwd(), 'bundle.integrity.manifest.json'), 'utf-8'));
const requiredExternalsData = requiredExternals.reduce((obj, externalName) => {
const requiredExternalsData = requiredExternals.reduce((acc, externalName) => {
const version = readPackageUpSync({
cwd: path.resolve(process.cwd(), 'node_modules', externalName),
})?.packageJson.version;
Expand Down

0 comments on commit d2060d7

Please sign in to comment.