修改缓存路径设置判断错误
Signed-off-by: CoderHank <coderhankzhang@gmail.com>
This commit is contained in:
parent
e8cd4cf95e
commit
8d349af5f5
|
@ -60,7 +60,7 @@ export class FileCache {
|
||||||
if (this.isInited) {
|
if (this.isInited) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (this.context && path.startsWith(this.context.cacheDir) === false) {
|
if (this.context && path.startsWith(this.context.cacheDir) === true) {
|
||||||
this.path = path
|
this.path = path
|
||||||
} else {
|
} else {
|
||||||
FileCache.CACHE_FOLDER = path
|
FileCache.CACHE_FOLDER = path
|
||||||
|
|
Loading…
Reference in New Issue