src: reset `process.versions` during pre-execution · nodejs/node@49cfb9d · GitHub
Skip to content

Commit 49cfb9d

Browse files
richardlautargos
authored andcommitted
src: reset process.versions during pre-execution
Reset `process.versions` during pre-execution so that it reflects the versions at run-time rather than when the snapshot was taken. PR-URL: #53444 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
1 parent 30858ec commit 49cfb9d

1 file changed

Lines changed: 37 additions & 27 deletions

File tree

src/node_process_object.cc

Lines changed: 37 additions & 27 deletions

0 commit comments

Comments
 (0)