Skip to content

Commit

Permalink
For in for Arrays replaces with standard for.
Browse files Browse the repository at this point in the history
  • Loading branch information
gevorg committed Oct 4, 2011
1 parent a397469 commit f27b1fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/option_parser.js
Expand Up @@ -54,8 +54,8 @@ module.exports = {
authList = fs.readFileSync(authFile, 'UTF-8').toString().split('\n');
}

for(authItem in authList) {
var authLine = authList[authItem];
for(var i = 0; i < authList.length; ++i) {
var authLine = authList[i];

if(type == 'digest') {
var authTokens = authLine.split(":");
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "http-auth",
"description": "Node.js module for HTTP basic and digest access authentication.",
"version": "1.0.3",
"version": "1.0.4",
"author": "Gevorg Harutyunyan",
"maintainers": [
{
Expand Down

0 comments on commit f27b1fe

Please sign in to comment.