We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4be2496 commit 94f93e8Copy full SHA for 94f93e8
src/backends/sql.ts
@@ -83,6 +83,14 @@ export default async function fetchSQL(config: SQLConfig): Promise<string> {
83
throw error
84
}
85
86
+ core.info('Closing database')
87
+ try {
88
+ await connection.close();
89
+ } catch (error) {
90
+ core.setFailed(`Unable to close database: ${error.message}`)
91
+ throw error
92
+ }
93
+
94
const outfile = `${config.outfile_basename}.${config.sql_format}`
95
try {
96
switch (config.sql_format) {
0 commit comments