Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build failure when transpiling testing code with Babel #182

Merged
merged 4 commits into from
Mar 11, 2020

Conversation

cheton referenced this pull request Mar 11, 2020
@cheton cheton merged commit 2730cd8 into master Mar 11, 2020
@cheton cheton deleted the fix-build-failure branch March 11, 2020 11:14
felixmosh pushed a commit to felixmosh/i18next-scanner that referenced this pull request Mar 11, 2020
* chore: update babel.config.js

* chore: require corejs package and bump dependencies

* fix: async & await are not working inside forEach

* ci: deprecate Node.js 8
if (resLoad[resKey] === undefined) {
if (options.defaultValue_plural !== undefined && resKey.endsWith(`${pluralSeparator}plural`)) {
resLoad[resKey] = options.defaultValue_plural;
} else {
// Fallback to `defaultValue`
resLoad[resKey] = _.isFunction(defaultValue)
? await defaultValue(lng, ns, key, options)
? defaultValue(lng, ns, key, options)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix would be this issue #145

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants