Skip to content

Commit

Permalink
fix: do not wrap connection name in quotes when running migrations fr…
Browse files Browse the repository at this point in the history
…om tests
  • Loading branch information
thetutlage committed May 7, 2022
1 parent 13588af commit 73a43ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/TestUtils/Migration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class TestsMigrator {
private async runCommand(commandName: string) {
const args: string[] = []
if (this.connectionName) {
args.push(`--connection="${this.connectionName}"`)
args.push(`--connection=${this.connectionName}`)
}

const command = await this.ace.exec(commandName, args)
Expand Down
2 changes: 1 addition & 1 deletion src/TestUtils/Seeder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class TestsSeeder {
private async runCommand(commandName: string) {
const args: string[] = []
if (this.connectionName) {
args.push(`--connection="${this.connectionName}"`)
args.push(`--connection=${this.connectionName}`)
}

const command = await this.ace.exec(commandName, args)
Expand Down

0 comments on commit 73a43ca

Please sign in to comment.