Skip to content

Commit

Permalink
fix: unit tests now passing
Browse files Browse the repository at this point in the history
  • Loading branch information
GoodmanBen committed Mar 14, 2022
1 parent 83fa280 commit 8067372
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion command/file_runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,13 @@ func NewFileRunner(filename string, config *config.TfmigrateConfig, option *tfmi
return nil, err
}

option.IsBackendTerraformCloud = config.IsBackendTerraformCloud
if option != nil {
option.IsBackendTerraformCloud = config.IsBackendTerraformCloud
} else {
option = &tfmigrate.MigratorOption{
IsBackendTerraformCloud: false,
}
}

m, err := mc.Migrator.NewMigrator(option)

Expand Down

0 comments on commit 8067372

Please sign in to comment.