@sap-ux/project-access 1.26.7 → 1.26.8
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.
|
@@ -63,9 +63,9 @@ async function createUI5I18nEntriesBase(root, manifestPath, i18nPropertiesPaths,
|
|
|
63
63
|
const dirPath = (0, path_1.dirname)(defaultPath);
|
|
64
64
|
if (!fs) {
|
|
65
65
|
// create directory when mem-fs-editor is not provided. when mem-fs-editor is provided, directory is created on using `.commit()` API
|
|
66
|
-
await (0, promises_1.mkdir)((0, path_1.join)(
|
|
66
|
+
await (0, promises_1.mkdir)((0, path_1.join)((0, path_1.dirname)(manifestPath), dirPath), { recursive: true });
|
|
67
67
|
}
|
|
68
|
-
return (0, i18n_1.createPropertiesI18nEntries)((0, path_1.join)(
|
|
68
|
+
return (0, i18n_1.createPropertiesI18nEntries)((0, path_1.join)((0, path_1.dirname)(manifestPath), defaultPath), newEntries, root, fs);
|
|
69
69
|
}
|
|
70
70
|
/**
|
|
71
71
|
* Maintains new translation entries in an existing i18n file or in a new i18n properties file if it does not exist.
|