projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
391fdcb
)
tests/tickets.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 29 Mar 2011 09:52:48 +0000
(17:52 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 29 Mar 2011 09:52:48 +0000
(17:52 +0800)
tests/tickets.js
patch
|
blob
|
history
diff --git
a/tests/tickets.js
b/tests/tickets.js
index
8b61953
..
bca776a
100644
(file)
--- a/
tests/tickets.js
+++ b/
tests/tickets.js
@@
-13,14
+13,14
@@
Tickets = {
// very basic parsing - only support single line version..
var lines = File.read(Lib.get_home_dir() + '.netrc').split(/\n/);
var t = this;
- lines.forEach(function(l)
)
{
+ lines.forEach(function(l)
{
if (!l.match(/^machine/)) {
return;
}
var ar = l.split(/\s+/);
// assume machine XXX login XXX password XXXX
t.machines[ar[1]] = { login : ar[3], password: ar[4]}
- }
+ }
);
}