Skip to content

Commit

Permalink
fix: add mjs extension type (#5616)
Browse files Browse the repository at this point in the history
  • Loading branch information
lirantal committed Jul 4, 2023
1 parent 2da5822 commit 0b1a2a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ async function initKnex(env, opts, useDefaultClientIfNotSpecified) {
}

function invoke() {
const filetypes = ['js', 'coffee', 'ts', 'eg', 'ls'];
const filetypes = ['js', 'mjs', 'coffee', 'ts', 'eg', 'ls'];

const cwd = argv.knexfile
? path.dirname(path.resolve(argv.knexfile))
Expand Down

0 comments on commit 0b1a2a0

Please sign in to comment.