@tahminator/pipeline 1.0.61 → 1.0.62
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/dist/env/client.js +3 -0
- package/package.json +1 -1
package/dist/env/client.js
CHANGED
|
@@ -17,6 +17,9 @@ export class EnvClient {
|
|
|
17
17
|
return this.maskAndReturnEnv(await this.strategy.readFromEnv(fileName, opts));
|
|
18
18
|
}
|
|
19
19
|
maskAndReturnEnv(envs) {
|
|
20
|
+
if (process.env.CI !== "true") {
|
|
21
|
+
return Object.fromEntries(envs);
|
|
22
|
+
}
|
|
20
23
|
for (const [varName, value] of envs.entries()) {
|
|
21
24
|
if (value === "true" || value === "false" || value === "") {
|
|
22
25
|
console.log(`Not masking ${varName}: true/false/empty value`);
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"type": "module",
|
|
4
4
|
"author": "Tahmid Ahmed",
|
|
5
5
|
"description": "A collection of Bun shell scripts that can be re-used in various CICD pipelines.",
|
|
6
|
-
"version": "1.0.
|
|
6
|
+
"version": "1.0.62",
|
|
7
7
|
"repository": {
|
|
8
8
|
"url": "git+https://github.com/tahminator/pipeline.git"
|
|
9
9
|
},
|