Hmm weird, must have gotten messed up while refactoring.
________________________________
From: Trevor Norris<mailto:notifications@github.com>
Sent: ý8/ý27/ý2013 17:44
To: joyent/node<mailto:node@noreply.github.com>
Cc: Domenic Denicola<mailto:domenic@domenicdenicola.com>
Subject: Re: [node] vm: remove useless ObjectWrap, fix memory leak, prevent double-contextifying. (#6117)


In src/node_contextify.cc:

>      if (!args[0]->IsObject()) {
> -      return ThrowTypeError("sandbox argument must be an object.");
> +      ThrowTypeError("sandbox must be an object");
> +      return;


Why two lines here? ThrowTypeError returns void.

—
Reply to this email directly or view it on GitHub<https://github.com/joyent/node/pull/6117/files#r6019328>.