updating glob manually

This commit is contained in:
Rob Larsen
2023-03-03 15:54:00 +00:00
parent 92f0b47a3e
commit 21a06810e0
2 changed files with 4 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
import assert from 'assert';
import fs from 'fs';
import path from 'path';
import glob from 'glob';
import { globSync } from 'glob';
import { createRequire } from 'module';
const require = createRequire(import.meta.url);
const pkg = require('../package.json');
@@ -53,7 +53,7 @@ const expectedFilesInDistDir = [
function checkFiles(directory, expectedFiles) {
// Get the list of files from the specified directory
const files = glob.sync('**/*', {
const files = globSync('**/*', {
'cwd': directory,
'ignore': [
'**/node_modules/**',