fix: address minor typos

This commit is contained in:
Scott Wilson
2024-10-25 14:40:04 -07:00
parent 657130eb80
commit d0bcbe15c6
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -671,7 +671,7 @@ export const RAW_SECRETS = {
workspaceId: "The ID of the project where the secret is located." workspaceId: "The ID of the project where the secret is located."
}, },
GET_REFERENCE_TREE: { GET_REFERENCE_TREE: {
secretName: "The name of the secret to get the reference tree for.'.", secretName: "The name of the secret to get the reference tree for.",
workspaceId: "The ID of the project where the secret is located.", workspaceId: "The ID of the project where the secret is located.",
environment: "The slug of the environment where the the secret is located.", environment: "The slug of the environment where the the secret is located.",
secretPath: "The folder path where the secret is located." secretPath: "The folder path where the secret is located."
@@ -448,7 +448,7 @@ export const expandSecretReferencesFactory = ({
// eslint-disable-next-line no-continue // eslint-disable-next-line no-continue
if (!entities.length) continue; if (!entities.length) continue;
let referrencedSecretPath = ""; let referencedSecretPath = "";
let referencedSecretKey = ""; let referencedSecretKey = "";
let referencedSecretEnvironmentSlug = ""; let referencedSecretEnvironmentSlug = "";
let referencedSecretValue = ""; let referencedSecretValue = "";
@@ -468,7 +468,7 @@ export const expandSecretReferencesFactory = ({
referencedSecretValue = referredValue.value; referencedSecretValue = referredValue.value;
referencedSecretKey = secretKey; referencedSecretKey = secretKey;
referrencedSecretPath = secretPath; referencedSecretPath = secretPath;
referencedSecretEnvironmentSlug = environment; referencedSecretEnvironmentSlug = environment;
} else { } else {
const secretReferenceEnvironment = entities[0]; const secretReferenceEnvironment = entities[0];
@@ -487,13 +487,13 @@ export const expandSecretReferencesFactory = ({
referencedSecretValue = referedValue.value; referencedSecretValue = referedValue.value;
referencedSecretKey = secretReferenceKey; referencedSecretKey = secretReferenceKey;
referrencedSecretPath = secretReferencePath; referencedSecretPath = secretReferencePath;
referencedSecretEnvironmentSlug = secretReferenceEnvironment; referencedSecretEnvironmentSlug = secretReferenceEnvironment;
} }
const node = { const node = {
value: referencedSecretValue, value: referencedSecretValue,
secretPath: referrencedSecretPath, secretPath: referencedSecretPath,
environment: referencedSecretEnvironmentSlug, environment: referencedSecretEnvironmentSlug,
depth: depth + 1, depth: depth + 1,
trace trace