Showing
1 changed file
with
0 additions
and
1 deletions
... | @@ -94,7 +94,6 @@ const read = () =>{ | ... | @@ -94,7 +94,6 @@ const read = () =>{ |
94 | string = fs.readFileSync(`./datas/${today.getFullYear()}.${today.getMonth()}.${today.getDate()-1}`, 'utf-8', 'r') | 94 | string = fs.readFileSync(`./datas/${today.getFullYear()}.${today.getMonth()}.${today.getDate()-1}`, 'utf-8', 'r') |
95 | } | 95 | } |
96 | } | 96 | } |
97 | - return string | ||
98 | const stringArray = string.split('\n') | 97 | const stringArray = string.split('\n') |
99 | const size = stringArray.length | 98 | const size = stringArray.length |
100 | for(let i = 0 ; i < size; i++){ | 99 | for(let i = 0 ; i < size; i++){ | ... | ... |
-
Please register or login to post a comment