@sap-ux/project-access 1.34.6 → 1.34.7
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.
|
@@ -112,6 +112,10 @@ async function refreshSpecificationDistTags(options) {
|
|
|
112
112
|
// Abort writing cache: received error in dist-tags response
|
|
113
113
|
throw new Error(distTagsString);
|
|
114
114
|
}
|
|
115
|
+
// Make sure fiori tools directory exists
|
|
116
|
+
if (!(0, node_fs_1.existsSync)(constants_1.fioriToolsDirectory)) {
|
|
117
|
+
await (0, promises_1.mkdir)(constants_1.fioriToolsDirectory, { recursive: true });
|
|
118
|
+
}
|
|
115
119
|
await (0, file_1.writeFile)(specificationDistTagPath, JSON.stringify(distTags, null, 4));
|
|
116
120
|
const uniqueVersions = new Set(Object.values(distTags));
|
|
117
121
|
// Check if we have cached versions that are not required anymore
|