joyent/node — comment on commit 5403a8ce4cce83a13569b09ee5b2ba3d1ad8c176
File: src/node.js line 576
By Benvie:

Yeah I thought of that after the fact as well. If an issue it can be fixed
by adding a variable in the function that gets set to true upon first call
and is checked inside the wrapper function.

On Mon, Jan 30, 2012 at 2:16 AM, Tim <
reply@reply.github.com
> wrote:

> Just a concern after taking a glance of this. If you did:
>
> var method = require('module').deprecatedMethod
> method()
> method()
>
> Wouldn't you get the warning twice?
>
> ---
> Reply to this email directly or view it on GitHub:
>
> https://github.com/joyent/node/commit/5403a8ce4cce83a13569b09ee5b2ba3d1ad8c176#commitcomment-913285
>