@sap-ux/project-access 1.19.2 → 1.19.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/project/cap.js +2 -0
- package/package.json +1 -1
package/dist/project/cap.js
CHANGED
|
@@ -383,6 +383,8 @@ function loadCdsModuleFromProject(capProjectPath) {
|
|
|
383
383
|
if (global) {
|
|
384
384
|
global.cds = cds;
|
|
385
385
|
}
|
|
386
|
+
// Ensure we use a known root path, otherwise `cwd` is used which varies between invocations.
|
|
387
|
+
cds.root = capProjectPath;
|
|
386
388
|
return cds;
|
|
387
389
|
});
|
|
388
390
|
}
|