mlbserver 2022.3.22 → 2022.3.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/session.js +8 -8
package/README.md
CHANGED
package/package.json
CHANGED
package/session.js
CHANGED
|
@@ -384,7 +384,7 @@ class sessionClass {
|
|
|
384
384
|
clear_multiview_files() {
|
|
385
385
|
try {
|
|
386
386
|
if ( this.multiview_path ) {
|
|
387
|
-
fs.
|
|
387
|
+
fs.rm(this.multiview_path, { recursive: true }, (err) => {
|
|
388
388
|
if (err) throw err;
|
|
389
389
|
|
|
390
390
|
this.createDirectory(this.multiview_path)
|
|
@@ -1066,7 +1066,7 @@ class sessionClass {
|
|
|
1066
1066
|
// finally save the setting
|
|
1067
1067
|
this.setHighlightsCacheExpiry(cache_name, cacheExpiry)
|
|
1068
1068
|
} else {
|
|
1069
|
-
this.log('error : invalid json from url ' +
|
|
1069
|
+
this.log('error : invalid json from url ' + reqObj.url)
|
|
1070
1070
|
}
|
|
1071
1071
|
} else {
|
|
1072
1072
|
this.debuglog('using cached highlight data')
|
|
@@ -1162,7 +1162,7 @@ class sessionClass {
|
|
|
1162
1162
|
// finally save the setting
|
|
1163
1163
|
this.setDateCacheExpiry(cache_name, cacheExpiry)
|
|
1164
1164
|
} else {
|
|
1165
|
-
this.log('error : invalid json from url ' +
|
|
1165
|
+
this.log('error : invalid json from url ' + reqObj.url)
|
|
1166
1166
|
}
|
|
1167
1167
|
} else {
|
|
1168
1168
|
this.debuglog('using cached date data')
|
|
@@ -1215,7 +1215,7 @@ class sessionClass {
|
|
|
1215
1215
|
this.cache.weekCacheExpiry = nextDate
|
|
1216
1216
|
this.save_cache_data()
|
|
1217
1217
|
} else {
|
|
1218
|
-
this.log('error : invalid json from url ' +
|
|
1218
|
+
this.log('error : invalid json from url ' + reqObj.url)
|
|
1219
1219
|
}
|
|
1220
1220
|
} else {
|
|
1221
1221
|
this.debuglog('using cached channel data')
|
|
@@ -1834,7 +1834,7 @@ class sessionClass {
|
|
|
1834
1834
|
// finally save the setting
|
|
1835
1835
|
this.setAiringsCacheExpiry(cache_name, cacheExpiry)
|
|
1836
1836
|
} else {
|
|
1837
|
-
this.log('error : invalid json from url ' +
|
|
1837
|
+
this.log('error : invalid json from url ' + reqObj.url)
|
|
1838
1838
|
}
|
|
1839
1839
|
} else {
|
|
1840
1840
|
this.debuglog('using cached airings data')
|
|
@@ -1897,7 +1897,7 @@ class sessionClass {
|
|
|
1897
1897
|
// finally save the setting
|
|
1898
1898
|
this.setGamedayCacheExpiry(cache_name, cacheExpiry)
|
|
1899
1899
|
} else {
|
|
1900
|
-
this.log('error : invalid response from url ' +
|
|
1900
|
+
this.log('error : invalid response from url ' + reqObj.url)
|
|
1901
1901
|
}
|
|
1902
1902
|
} else {
|
|
1903
1903
|
this.debuglog('using cached gameday data')
|
|
@@ -2228,7 +2228,7 @@ class sessionClass {
|
|
|
2228
2228
|
|
|
2229
2229
|
this.save_cache_data()
|
|
2230
2230
|
} else {
|
|
2231
|
-
this.log('error : invalid response from url ' +
|
|
2231
|
+
this.log('error : invalid response from url ' + reqObj.url)
|
|
2232
2232
|
}
|
|
2233
2233
|
} else {
|
|
2234
2234
|
this.debuglog('using cached big inning schedule')
|
|
@@ -2280,7 +2280,7 @@ class sessionClass {
|
|
|
2280
2280
|
this.cache.eventURLCacheExpiry = cacheExpiry
|
|
2281
2281
|
this.save_cache_data()
|
|
2282
2282
|
} else {
|
|
2283
|
-
this.log('error : invalid json from url ' +
|
|
2283
|
+
this.log('error : invalid json from url ' + reqObj.url)
|
|
2284
2284
|
return
|
|
2285
2285
|
}
|
|
2286
2286
|
} else {
|