@contrast/agent 4.19.0 → 4.19.1
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/changelog.config.js +1 -1
- package/lib/core/config/util.js +4 -0
- package/package.json +1 -1
package/changelog.config.js
CHANGED
|
@@ -26,7 +26,7 @@ module.exports = {
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
hideEmptyBlocks: true,
|
|
29
|
-
template: `##
|
|
29
|
+
template: `## <%= process.env.VERSION -%>
|
|
30
30
|
|
|
31
31
|
<% blockTickets = tickets.all.filter((t) => !t.reverted); -%>
|
|
32
32
|
<% if (blockTickets.length > 0 || !options.hideEmptyBlocks) { -%>
|
package/lib/core/config/util.js
CHANGED
|
@@ -323,6 +323,10 @@ function mergePM2Envs() {
|
|
|
323
323
|
.concat(Object.entries(pm2_env))
|
|
324
324
|
.concat(['DEBUG', 'PGHOST', 'PGPORT']);
|
|
325
325
|
|
|
326
|
+
const pm2ConfigPath =
|
|
327
|
+
pm2_env.env.CONTRAST_CONFIG_PATH || pm2_env.CONTRAST_CONFIG_PATH;
|
|
328
|
+
if (pm2ConfigPath) process.env.CONTRAST_CONFIG_PATH = pm2ConfigPath;
|
|
329
|
+
|
|
326
330
|
objectEntries.forEach(([key, value]) => {
|
|
327
331
|
if (
|
|
328
332
|
!process.env[key] &&
|