Skip to content

Commit

Permalink
fix: Removes file extension from textUtils (#24293)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-s-molina authored Jun 5, 2023
1 parent 6a1f365 commit dd8836b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions superset-frontend/src/utils/textUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
*/
const loadModule = () => {
try {
// eslint-disable-next-line global-require
return require('../../../superset_text.yml') || {};
// eslint-disable-next-line global-require, import/no-unresolved
return require('../../../superset_text') || {};
} catch (e) {
return {};
}
Expand Down

0 comments on commit dd8836b

Please sign in to comment.