Commit 52ee55a0 authored by cjihrig's avatar cjihrig Committed by Rich Trott
Browse files

vm: simplify Script constructor options validation

This commit combines two related if statements into an
if-else statement.

PR-URL: https://github.com/nodejs/node/pull/25054


Reviewed-By: default avatarMichaël Zasso <targos@protonmail.com>
Reviewed-By: default avatarLuigi Pinca <luigipinca@gmail.com>
parent 8dfd7573
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment