Skip to content

Commit

Permalink
feat: change name
Browse files Browse the repository at this point in the history
  • Loading branch information
木鳐 committed Dec 26, 2024
1 parent 9a413e6 commit 4155cc1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/core/src/asset/ResourceManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -596,8 +596,8 @@ export class ResourceManager {
config.forEach((element) => {
this._virtualPathMap[element.virtualPath] = element.path;
this._editorResourceConfig[element.id] = element;
if (element.dependentAssets) {
this._dependencyMap[element.virtualPath] = element.dependentAssets;
if (element.dependentAssetMap) {
this._dependencyMap[element.virtualPath] = element.dependentAssetMap;
}

Check warning on line 601 in packages/core/src/asset/ResourceManager.ts

View check run for this annotation

Codecov / codecov/patch

packages/core/src/asset/ResourceManager.ts#L600-L601

Added lines #L600 - L601 were not covered by tests
});
}
Expand Down Expand Up @@ -641,7 +641,7 @@ type EditorResourceItem = {
path: string;
type: string;
id: string;
dependentAssets: { [key: string]: string };
dependentAssetMap: { [key: string]: string };
};
type EditorResourceConfig = Record<string, EditorResourceItem>;
type SubAssetPromiseCallbacks<T> = Record<
Expand Down

0 comments on commit 4155cc1

Please sign in to comment.