Skip to content

Commit

Permalink
Linted ts files
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonioSanch3z committed Oct 10, 2024
1 parent 403bf1a commit d30519b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion src/deploymentMenu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,9 @@ async function createChildsForm(
deployDialog.appendChild(form);

// Show the form for the first child by default
if (index !== 0) form.style.display = 'none';
if (index !== 0) {
form.style.display = 'none';
}

// Create input fields from YAML content
if (inputs) {
Expand Down
8 changes: 4 additions & 4 deletions src/listDeployments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -258,18 +258,18 @@ async function getInfrastructureInfo(
echo -e "${authContent}" > $PWD/${pipeAuth} &
if [ "${dataType}" = "state" ]; then
stateOut=\$(python3 ${imClientPath} getstate ${infrastructureID} -r https://im.egi.eu/im -a \$PWD/${pipeAuth})
stateOut=(python3 ${imClientPath} getstate ${infrastructureID} -r https://im.egi.eu/im -a PWD/${pipeAuth})
else
stateOut=\$(python3 ${imClientPath} getvminfo ${infrastructureID} 0 net_interface.1.ip -r https://im.egi.eu/im -a \$PWD/${pipeAuth})
stateOut=(python3 ${imClientPath} getvminfo ${infrastructureID} 0 net_interface.1.ip -r https://im.egi.eu/im -a PWD/${pipeAuth})
fi
# Remove pipe
rm -f $PWD/${pipeAuth} &> /dev/null
# Print state output on stderr or stdout
if [ $? -ne 0 ]; then
>&2 echo -e \$stateOut
>&2 echo -e stateOut
exit 1
else
echo -e \$stateOut
echo -e stateOut
fi
`;

Expand Down

0 comments on commit d30519b

Please sign in to comment.