김대선

dataFunctions.js read 함수 오류 수정

...@@ -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++){
......