Skip to content

Commit

Permalink
fix: use platform specific path delimiter
Browse files Browse the repository at this point in the history
  • Loading branch information
tricoder42 committed Aug 8, 2018
1 parent 71f21a1 commit 82c0875
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/api/formats/lingui.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export default (config: LinguiConfig): CatalogFormat => ({
this.formatFilename(sourceFilename, localeRe.source)
)
const match = filenameRe.exec(filename)
// if (!match || !locales.isValid(match[1])) return null
if (!match) return null
return match[1]
},

Expand Down

0 comments on commit 82c0875

Please sign in to comment.