@lowcodeunit/applications-flow-common 1.37.170-oct-bugs → 1.37.172-oct-bugs
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/esm2020/lib/controls/build-pipeline-form/build-pipeline-form.component.mjs +8 -8
- package/esm2020/lib/controls/source-control-form/source-control-form.component.mjs +2 -2
- package/fesm2015/lowcodeunit-applications-flow-common.mjs +7 -7
- package/fesm2015/lowcodeunit-applications-flow-common.mjs.map +1 -1
- package/fesm2020/lowcodeunit-applications-flow-common.mjs +7 -7
- package/fesm2020/lowcodeunit-applications-flow-common.mjs.map +1 -1
- package/package.json +1 -1
@@ -5383,14 +5383,14 @@ class BuildPipelineFormComponent {
|
|
5383
5383
|
if (this.NPMTokenFormControl?.value) {
|
5384
5384
|
const secretLookup = 'npm-access-token';
|
5385
5385
|
doa.SecretLookups = [secretLookup];
|
5386
|
-
saveEnvReq.Environment.Secrets[secretLookup]
|
5387
|
-
|
5388
|
-
|
5389
|
-
|
5390
|
-
|
5386
|
+
if (!saveEnvReq.Environment.Secrets[secretLookup]) {
|
5387
|
+
saveEnvReq.Environment.Secrets[secretLookup] = {
|
5388
|
+
Name: 'NPM Access Token',
|
5389
|
+
DataTokenLookup: secretLookup,
|
5390
|
+
KnownAs: 'NPM_TOKEN',
|
5391
|
+
};
|
5392
|
+
}
|
5391
5393
|
saveEnvReq.EnterpriseDataTokens[secretLookup] = {
|
5392
|
-
Name: saveEnvReq.Environment.Secrets[secretLookup].Name,
|
5393
|
-
Description: saveEnvReq.Environment.Secrets[secretLookup].Name,
|
5394
5394
|
Value: this.NPMTokenFormControl.value,
|
5395
5395
|
};
|
5396
5396
|
}
|