Skip to content

Commit

Permalink
Fix compatibility with new glob library
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Sep 10, 2024
1 parent a84786e commit a6c6d43
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ export class Server extends BaseServer {
async autoloadModules(
files = ['modules/*/index.js', 'modules/*.js', '!**/*.{test,spec}.js']
) {
if (!Array.isArray(files)) files = [files]
let matches = await glob(files, {
absolute: true,
cwd: this.options.root,
Expand Down

0 comments on commit a6c6d43

Please sign in to comment.