修复前一次提交的文件路径判断错误
Signed-off-by: madixin <madixin@huawei.com>
This commit is contained in:
parent
e8cd4cf95e
commit
54f6673d35
|
@ -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