Skip to content

Commit

Permalink
fix: Should correctly decorate instance file
Browse files Browse the repository at this point in the history
  • Loading branch information
ci010 committed Dec 28, 2023
1 parent f20d019 commit 1887872
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xmcl-runtime/instanceIO/InstanceFileDiscover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,15 @@ export const isSpecialFile = (relativePath: string) =>
export async function decoareteInstanceFileFromResourceCache(
localFile: InstanceFile,
stat: Stats,
filePath: string,
instancePath: string,
worker: ResourceWorker,
resourceService: ResourceService,
undecorated: Array<InstanceFile>,
undecoratedResources: Map<InstanceFile, Resource>,
hashes?: string[],
) {
const relativePath = localFile.path
const filePath = join(instancePath, relativePath)
const ino = stat.ino
if (isSpecialFile(relativePath)) {
let resource = await resourceService.getReosurceByIno(ino)
Expand Down

0 comments on commit 1887872

Please sign in to comment.