Skip to content

Commit 20d0d72

Browse files
committed
test: update glob import in utils
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
1 parent a4e9397 commit 20d0d72

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/utils.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const fs = require('fs-extra');
22
const path = require('path');
3-
const glob = require('glob');
3+
const { glob } = require('glob');
44
const crypto = require('crypto');
55
const flatten = require('lodash/flatten');
66

@@ -28,12 +28,12 @@ module.exports = {
2828
if(locale === undefined || locale.startsWith('en')) return [];
2929

3030
const withDialect = ['pt', 'zh'];
31-
31+
3232
let lang = locale;
3333
if(lang.includes('.')) {
3434
lang = lang.substring(0, lang.indexOf('.'));
3535
}
36-
36+
3737
// Check for language code & country code.
3838
let ll = lang, cc = '';
3939
if(lang.includes('_')) {

0 commit comments

Comments
 (0)