修复前一次提交的文件路径判断错误
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) {
|
||||
return
|
||||
}
|
||||
if (this.context && path.startsWith(this.context.cacheDir) === false) {
|
||||
if (this.context && path.startsWith(this.context.cacheDir) === true) {
|
||||
this.path = path
|
||||
} else {
|
||||
FileCache.CACHE_FOLDER = path
|
||||
|
|
Loading…
Reference in New Issue