Skip to content

Commit

Permalink
fix: work on pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
vadson71 committed Jan 10, 2024
1 parent 8cd8aa8 commit d532404
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/context/src/ui5-model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,7 @@ async function isVersionLibsCacheValid(
}
return (
apiJson &&
typeof apiJson === "object" &&
Object.keys(apiJson).length > 0
typeof apiJson === "object"
);
})
);
Expand All @@ -335,7 +334,7 @@ async function isVersionLibsCacheValid(
* @param modelCachePath Path to model data cache on disk
* @param framework The UI5 framework version
* @param version Requested version
* @returns true if resouces are found
* @returns true if resources are found
*/
async function isVersionResourcesAvailable(
versionInfoJsonFetcher: Fetcher<Json>,
Expand Down

0 comments on commit d532404

Please sign in to comment.