Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
buschtoens committed Dec 29, 2012
1 parent fbb99d6 commit 5676508
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/sanitize.js
Expand Up @@ -39,9 +39,9 @@ function sanitize(args, caller, order) {
}

if (found) {
_args[newIndex] = arg;
if(caller) sanitized[argNames[newIndex]] = arg;
delete order[newIndex];
_args[newIndex] = arg;
if(caller) sanitized[argNames[newIndex]] = arg;
delete order[newIndex];
}

return found;
Expand Down

0 comments on commit 5676508

Please sign in to comment.