Skip to content

Commit

Permalink
Fix prettier errors in webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
martyngigg committed Sep 9, 2024
1 parent c4f41db commit c205131
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions superset-frontend/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,9 @@ const getAvailableTranslationCodes = () => {
.filter(dirName => !dirName.startsWith('__'))
.map(dirName => dirName.replace('_', '-'))
.map(dirName => LOCALE_CODE_MAPPING[dirName] || dirName);
}
else {
} else {

Check failure on line 60 in superset-frontend/webpack.config.js

View workflow job for this annotation

GitHub Actions / frontend-build

Unnecessary 'else' after 'return'
// Indicates to the MomentLocalesPlugin that we only want to keep 'en'.
return []
return [];
}
};

Expand Down

0 comments on commit c205131

Please sign in to comment.