fix(cli): resolve _snap_tmp_template NameError in atomic snapshot block
This commit is contained in:
parent
c896c09c42
commit
47f54cbb05
|
|
@ -940,7 +940,6 @@ class BaseEnvironment(ABC):
|
|||
# that later expands the ``mv`` operand, keeping both consistent.
|
||||
if self._snapshot_ready:
|
||||
parts.append(
|
||||
f"__hermes_snap_tmp=$(mktemp {_snap_tmp_template}) && "
|
||||
f"{{ {_export_dump_excluding_session_vars(_snap_tmp, passthrough_names)} "
|
||||
f"&& mv -f {_snap_tmp} {_quoted_snap}; }} "
|
||||
f"2>/dev/null || rm -f {_snap_tmp} 2>/dev/null || true"
|
||||
|
|
|
|||
Loading…
Reference in New Issue