Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
srvpro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
srvpro
Commits
12055d02
Commit
12055d02
authored
Nov 16, 2020
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
5bb48bed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ygopro-server.coffee
ygopro-server.coffee
+1
-1
ygopro-server.js
ygopro-server.js
+2
-2
No files found.
ygopro-server.coffee
View file @
12055d02
...
...
@@ -217,7 +217,7 @@ class ResolveData
loadLFList
=
(
path
)
->
try
for
list
in
fs
.
promises
.
readFile
(
path
,
'utf8'
).
match
(
/!.*/g
)
for
list
in
(
await
fs
.
promises
.
readFile
(
path
,
'utf8'
)
).
match
(
/!.*/g
)
date
=
list
.
match
(
/!([\d\.]+)/
)
continue
unless
date
lflists
.
push
({
date
:
moment
(
list
.
match
(
/!([\d\.]+)/
)[
1
],
'YYYY.MM.DD'
).
utcOffset
(
"-08:00"
),
tcg
:
list
.
indexOf
(
'TCG'
)
!=
-
1
})
...
...
ygopro-server.js
View file @
12055d02
...
...
@@ -268,10 +268,10 @@
}).
call
(
this
);
loadLFList
=
function
(
path
)
{
loadLFList
=
async
function
(
path
)
{
var
date
,
j
,
len
,
list
,
ref
,
results
;
try
{
ref
=
fs
.
promises
.
readFile
(
path
,
'
utf8
'
).
match
(
/!.*/g
);
ref
=
((
await
fs
.
promises
.
readFile
(
path
,
'
utf8
'
))
).
match
(
/!.*/g
);
results
=
[];
for
(
j
=
0
,
len
=
ref
.
length
;
j
<
len
;
j
++
)
{
list
=
ref
[
j
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment