@sap-ux/project-access
Advanced tools
Comparing version 1.19.12 to 1.19.13
@@ -389,3 +389,5 @@ "use strict"; | ||
if (getMajorVersion(cdsDependencyVersion) !== getMajorVersion(globalCdsVersion)) { | ||
throw Error(`The @sap/cds major version (${cdsDependencyVersion}) specified in your CAP project is different to the @sap/cds version you have installed globally (${globalCdsVersion}). Please run 'npm install' on your CAP project to ensure that the correct CDS version is loaded.`); | ||
const error = new Error(`The @sap/cds major version (${cdsDependencyVersion}) specified in your CAP project is different to the @sap/cds version you have installed globally (${globalCdsVersion}). Please run 'npm install' on your CAP project to ensure that the correct CDS version is loaded.`); | ||
error.code = 'CDS_VERSION_MISMATCH'; | ||
throw error; | ||
} | ||
@@ -392,0 +394,0 @@ } |
{ | ||
"name": "@sap-ux/project-access", | ||
"version": "1.19.12", | ||
"version": "1.19.13", | ||
"description": "Library to access SAP Fiori tools projects", | ||
@@ -5,0 +5,0 @@ "repository": { |
225583
4782