Commit a3df5638 authored by nanahira's avatar nanahira

fix

parent 23f7f269
...@@ -99,9 +99,9 @@ ...@@ -99,9 +99,9 @@
var j, len, ref, ref_custom, results; var j, len, ref, ref_custom, results;
results = []; results = [];
try { try {
ref = fs.readFileSync('ygopro/expansions/lflist.conf', 'utf8').match(/!.*/g); ref_custom = fs.readFileSync('ygopro/expansions/lflist.conf', 'utf8').match(/!.*/g);
for (j = 0, len = ref.length; j < len; j++) { for (j = 0, len = ref_custom.length; j < len; j++) {
list = ref[j]; list = ref_custom[j];
date = list.match(/!([\d\.]+)/); date = list.match(/!([\d\.]+)/);
if (!date) { if (!date) {
continue; continue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment