chore: remove stray markPersistent (#5056)

It is conditionally applied a few lines below
This commit is contained in:
Sebastian Ullrich 2024-08-15 17:41:42 +02:00 committed by GitHub
parent 4d4d485c19
commit 0ecbcfdcc3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -597,7 +597,7 @@ where
-- definitely resolve eventually
snap.new.resolve <| .ofTyped { diagnostics := .empty : SnapshotLeaf }
let mut infoTree := Runtime.markPersistent cmdState.infoState.trees[0]!
let mut infoTree := cmdState.infoState.trees[0]!
let cmdline := internal.cmdlineSnapshots.get scope.opts && !Parser.isTerminalCommand stx
if cmdline then
infoTree := Runtime.markPersistent infoTree