Skip to content
This repository was archived by the owner on Sep 6, 2022. It is now read-only.

Commit 8b02fdd

Browse files
committed
Fixed path inside extract-intl script
1 parent 7355318 commit 8b02fdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internals/scripts/extract-intl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ const extractFromFile = fileName =>
100100
try {
101101
const output = transformSync(code, { presets, plugins });
102102
// TODO: Ensure that this is the correct path to find the react-intl messages
103-
messages = get(output, 'metadata.result.react-intl.messages', []);
103+
messages = get(output, 'metadata.react-intl.messages', []);
104104
} catch (e) {
105105
console.log(e); // eslint-disable-line
106106
}

0 commit comments

Comments
 (0)