-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: tackle corner cases and change variable names for better re…
…adability (#38) * refactor: tackle corner cases and change variable names for better readability Signed-off-by: Yash <yash2010118@akgec.ac.in> * fix: linting errors * Update delete.ts --------- Signed-off-by: Yash <yash2010118@akgec.ac.in> Co-authored-by: Vicente Eduardo Ferrer Garcia <7854099+viferga@users.noreply.github.com>
- Loading branch information
1 parent
f5b2ea0
commit 46c7802
Showing
5 changed files
with
47 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
export const deleteStatusMessage = ( | ||
app: string | ||
): { | ||
success: string; | ||
error: string; | ||
folderShouldntExist: string; | ||
appShouldntExist: string; | ||
} => ({ | ||
success: 'Deploy Delete Succeed', | ||
error: `Oops! It looks like the application (${app}) hasn't been deployed yet. Please deploy it before you delete it.`, | ||
folderShouldntExist: `The folder shouldnt exist after deleting it.`, | ||
appShouldntExist: `The application shouldnt exist after deleting it` | ||
}); |
This file was deleted.
Oops, something went wrong.