Skip to content

Commit 94a3498

Browse files
author
Arik Kfir
committed
Fix SQL scripts escaping by Cloud SQL resources.
1 parent 7c028fd commit 94a3498

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/src/gcp_cloud_sql.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ def path(self) -> Path:
329329

330330
def execute(self, sql_executor: SqlExecutor) -> None:
331331
if self._post_process:
332-
escaped_file: Path = self._path.parent / ('.' + self._path.name + '.escaped')
332+
escaped_file: Path = Path('/tmp') / self._path.name
333333
template: Template = Environment().from_string(open(self._path, 'r').read(), globals=self._context)
334334
with escaped_file.open(mode='w') as f:
335335
f.write(template.render(self._context))

0 commit comments

Comments
 (0)