Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Oct 15, 2012
1 parent 6dd9724 commit 9ec76cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/command-line.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ CommandLineInterface.prototype = {
.DescribeIndexFieldsResponse
.DescribeIndexFieldsResult
.IndexFields;
callback(null, indexFields.members || []);
indexFields = Array.isArray(indexFields.members) ? indexFields.members : [];
callback(null, indexFields);
}
);
},
Expand Down

0 comments on commit 9ec76cc

Please sign in to comment.