Skip to content

Commit 29a6798

Browse files
committed
Removed storage of temporary value.
1 parent 5bef404 commit 29a6798

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

bin/doxdox

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ var input = process.cwd(),
1515
output,
1616
pkg;
1717

18-
var args = process.argv.slice(2),
19-
value;
18+
var args = process.argv.slice(2);
2019

2120
if (args.length && !args[0].match(/^\-/)) {
2221

@@ -26,9 +25,7 @@ if (args.length && !args[0].match(/^\-/)) {
2625

2726
while (args.length) {
2827

29-
value = args.shift();
30-
31-
switch (value) {
28+
switch (args.shift()) {
3229

3330
case '-t':
3431
case '--title':

0 commit comments

Comments
 (0)