Skip to content

EspoCRM – Open Source CRM Application

DOcs

Yuriif5507e6c0124
diff --git a/diff.js b/diff.js
index 9c898c70b7..e52aecf096 100644
--- a/diff.js
+++ b/diff.js
@@ -34,16 +34,19 @@
* * `node diff 5.9.0` - builds an upgrade from 5.9.0 to the current version;
* * `node diff --all` - builds all upgrades needed for a release.
*
+ * Parameters:
+ * `--targetVersion` – overrides the target version.
+ *
* Data for upgrade packages is defined in `upgrades/{x.x|x.x.x-x.x.x}/data.json`.
*
- * Parameters:
- * * `mandatoryFiles` – {string[]} – mandatory files to include in upgrade
+ * Data parameters:
+ * - `mandatoryFiles` – {string[]} – mandatory files to include in upgrade
* (even files that were not changed in version control);
- * * `beforeUpgradeFiles` – {string[]} – files to copy in the beginning of the upgrade process;
- * * `manifest` – {object} – upgrade manifest parameters.
+ * - `beforeUpgradeFiles` – {string[]} – files to copy in the beginning of the upgrade process;
+ * - `manifest` – {object} – upgrade manifest parameters.
*
* Manifest parameters:
- * * `delete` – {string[]} – additional files to be deleted (usually those that are not in version control).
+ * - `delete` – {string[]} – additional files to be deleted (usually those that are not in version control).
*/
const Diff = require('./js/diff');
diff --git a/js/diff.js b/js/diff.js
index 8519d34053..6537a46f54 100644
--- a/js/diff.js
+++ b/js/diff.js
@@ -39,8 +39,7 @@ const exec = cp.exec;
/**
* Builds upgrade packages.
*
- * Parameters:
- * `--targetVersion` – overrides the target version.
+
*/
class Diff
{