Skip to content

Commit

Permalink
feat: hide deploy and retrieve oas commands
Browse files Browse the repository at this point in the history
  • Loading branch information
CristiCanizales committed Dec 16, 2024
1 parent 90b83ba commit 26d8040
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/salesforcedx-vscode-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -222,11 +222,11 @@
},
{
"command": "sf.deploy.oas",
"when": "sf:project_opened && resource =~ /.\\.yml$/ && resourcePath =~ /OpenAPIdocuments/ && editorIsOpen && sf:has_target_org"
"when": "false"
},
{
"command": "sf.retrieve.oas",
"when": "sf:project_opened && resource =~ /.\\.yml$/ && resourcePath =~ /OpenAPIdocuments/ && editorIsOpen && sf:has_target_org"
"when": "false"
}
],
"explorer/context": [
Expand Down Expand Up @@ -332,11 +332,11 @@
},
{
"command": "sf.deploy.oas",
"when": "sf:project_opened && resourcePath =~ /OpenAPIdocuments/ && sf:has_target_org"
"when": "false"
},
{
"command": "sf.retrieve.oas",
"when": "sf:project_opened && resourcePath =~ /OpenAPIdocuments/ && sf:has_target_org"
"when": "false"
}
],
"commandPalette": [
Expand Down Expand Up @@ -622,11 +622,11 @@
},
{
"command": "sf.deploy.oas",
"when": "sf:project_opened && resource =~ /.\\.yml$/ && resourcePath =~ /OpenAPIdocuments/ && editorIsOpen && sf:has_target_org"
"when": "false"
},
{
"command": "sf.retrieve.oas",
"when": "sf:project_opened && resource =~ /.\\.yml$/ && resourcePath =~ /OpenAPIdocuments/ && editorIsOpen && sf:has_target_org"
"when": "false"
}
]
},
Expand Down

0 comments on commit 26d8040

Please sign in to comment.