Skip to content

Bump glob from 7.2.0 to 11.0.0 #450

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

Merged
merged 2 commits into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/utils.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const fs = require('fs-extra');
const path = require('path');
const glob = require('glob');
const { glob } = require('glob');
const crypto = require('crypto');
const flatten = require('lodash/flatten');

Expand Down Expand Up @@ -28,12 +28,12 @@
if(locale === undefined || locale.startsWith('en')) return [];

const withDialect = ['pt', 'zh'];

let lang = locale;
if(lang.includes('.')) {
lang = lang.substring(0, lang.indexOf('.'));
}

// Check for language code & country code.
let ll = lang, cc = '';
if(lang.includes('_')) {
Expand All @@ -53,7 +53,7 @@
return path.extname(file) === '.md';
},

// TODO: remove this

Check warning on line 56 in lib/utils.js

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 16.x)

Unexpected 'todo' comment: 'TODO: remove this'

Check warning on line 56 in lib/utils.js

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 18.x)

Unexpected 'todo' comment: 'TODO: remove this'

Check warning on line 56 in lib/utils.js

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 20.x)

Unexpected 'todo' comment: 'TODO: remove this'

Check warning on line 56 in lib/utils.js

View workflow job for this annotation

GitHub Actions / build (macos-latest, 16.x)

Unexpected 'todo' comment: 'TODO: remove this'

Check warning on line 56 in lib/utils.js

View workflow job for this annotation

GitHub Actions / build (macos-latest, 18.x)

Unexpected 'todo' comment: 'TODO: remove this'

Check warning on line 56 in lib/utils.js

View workflow job for this annotation

GitHub Actions / build (macos-latest, 20.x)

Unexpected 'todo' comment: 'TODO: remove this'

Check warning on line 56 in lib/utils.js

View workflow job for this annotation

GitHub Actions / build (windows-latest, 16.x)

Unexpected 'todo' comment: 'TODO: remove this'

Check warning on line 56 in lib/utils.js

View workflow job for this annotation

GitHub Actions / build (windows-latest, 18.x)

Unexpected 'todo' comment: 'TODO: remove this'

Check warning on line 56 in lib/utils.js

View workflow job for this annotation

GitHub Actions / build (windows-latest, 20.x)

Unexpected 'todo' comment: 'TODO: remove this'
commandSupportedOn(platform) {
return (command) => {
return command.platform.indexOf(platform) >= 0
Expand Down
Loading
Loading