diff --git a/lib/graph/helpers/ui5Framework.js b/lib/graph/helpers/ui5Framework.js index 26cf97110..d6263867d 100644 --- a/lib/graph/helpers/ui5Framework.js +++ b/lib/graph/helpers/ui5Framework.js @@ -354,7 +354,7 @@ export default { log.info(`Using ${frameworkName} version: ${version}`); - const resolver = new Resolver({cwd: rootProject.getRootPath(), version, workspace}); + const resolver = new Resolver({cwd: rootProject.getRootPath(), version}); let startTime; if (log.isLevelEnabled("verbose")) { diff --git a/test/lib/graph/helpers/ui5Framework.js b/test/lib/graph/helpers/ui5Framework.js index 52426261d..06fc6f4d4 100644 --- a/test/lib/graph/helpers/ui5Framework.js +++ b/test/lib/graph/helpers/ui5Framework.js @@ -105,7 +105,8 @@ test.serial("enrichProjectGraph", async (t) => { t.is(t.context.Sapui5ResolverInstallStub.callCount, 1, "Sapui5Resolver#install should be called once"); t.deepEqual(t.context.Sapui5ResolverInstallStub.getCall(0).args, [ - referencedLibraries + referencedLibraries, + undefined ], "Sapui5Resolver#install should be called with expected args"); t.is(ProjectProcessorStub.callCount, 1, "ProjectProcessor#constructor should be called once");