Skip to content

Commit

Permalink
Issue resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
HeeManSu committed Jul 16, 2024
1 parent 190b992 commit 5ad6f71
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/controller/inspect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const inspect = (_req: Request, res: Response): Response => {
if (!application.deployment.packages) {
throw new Error('Packages is undefined or null');
}
deployments.push(application.deployment);
deployments.unshift(application.deployment);
}
}

Expand Down
7 changes: 3 additions & 4 deletions test/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,9 @@ function run_tests() {
echo "Inspection test passed."

# Call delete functionality in local development
# if [[ "${NODE_ENVIRONMENT}" == "development" ]]; then
# echo "commmmmmmming here"
# delete_functionality $app $prefix
# fi
if [[ "${NODE_ENVIRONMENT}" == "development" && "${TEST_FAAS_STARTUP_DEPLOY}" == "false" ]]; then
delete_functionality $app $prefix
fi

# Call delete functionality
if [[ "${TEST_FAAS_STARTUP_DEPLOY}" == "true" && "${NODE_ENVIRONMENT}" == "deployment" ]]; then
Expand Down

0 comments on commit 5ad6f71

Please sign in to comment.