Skip to content

Commit

Permalink
Update app.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S committed Apr 12, 2022
1 parent 36bdf05 commit 6f61910
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/cspell-tools/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import { ReaderOptions } from './compiler/Reader';
const npmPackage = require(path.join(__dirname, '..', 'package.json'));

function globP(pattern: string): Promise<string[]> {
// Convert windows separators.
pattern = pattern.replace(/\\/g, '/');
return new Promise((resolve, reject) => {
glob(pattern, (err, result) => {
err ? reject(err) : resolve(result);
Expand Down

0 comments on commit 6f61910

Please sign in to comment.