Skip to content
This repository has been archived by the owner on Jan 13, 2020. It is now read-only.

Commit

Permalink
fix: can now import zipped database
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSiefke committed Feb 6, 2019
1 parent 658f6b7 commit 615c6f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ const commands: { [key: string]: Command } = {
}
// search for sql files in the current folder
glob(
'**/*.sql',
'**/*.+(sql|sql.gz|tar|tar.gz|zip)',
{ ignore: '**/+(node_modules|vendor|web|.git|import-db)/**', cwd: cwd(), dot: true },
async (_, files) => {
if (files.length === 0) {
Expand Down

0 comments on commit 615c6f0

Please sign in to comment.