Skip to content

Commit

Permalink
Update message text
Browse files Browse the repository at this point in the history
  • Loading branch information
branic authored and vrubezhny committed Aug 13, 2024
1 parent da0a1db commit def78aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/yamlFileCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class YamlFileCommands {
|| !(document.fileName.endsWith('.yaml') || document.fileName.endsWith('.yml')
|| document.fileName.endsWith('.json'))) {
message =
'\'OpenShift: Create\' command requires a .yaml or a .json file opened in editor.';
'\'OpenShift: Create\' command requires a .yaml, .yml, or .json file opened in editor.';
}

if (!message && document.isUntitled) {
Expand Down Expand Up @@ -66,7 +66,7 @@ export class YamlFileCommands {
|| !(document.fileName.endsWith('.yaml') || document.fileName.endsWith('.yml')
|| document.fileName.endsWith('.json'))) {
message =
'\'OpenShift: Delete\' command requires a .yaml or a .json file opened in editor.';
'\'OpenShift: Delete\' command requires a .yaml, .yml, or .json file opened in editor.';
}

if (!message && document.isUntitled) {
Expand Down

0 comments on commit def78aa

Please sign in to comment.