Skip to content

Commit

Permalink
One more Open Source CI fix.
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 1d778acaf5c896921b28f2f0feec25d7d6359ab5
  • Loading branch information
cpojer committed Jan 24, 2025
1 parent 99faec5 commit eb1015c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions infra/babelPresets.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ import fbtCommon from '../i18n/Common.ts';
import isOpenSource from './isOpenSource.tsx';

const manifestFile = join(process.cwd(), './ares/.enum_manifest.json');

const getEnumManifest = async () => {
try {
return await import(manifestFile);
return await import(manifestFile, { with: { type: 'json' } });
} catch {
if (!isOpenSource()) {
throw new Error('babelPresets: Missing enum manifest.');
Expand Down

0 comments on commit eb1015c

Please sign in to comment.