Skip to content

Commit

Permalink
feat: add apis for open-remote-wsl extension (#1627)
Browse files Browse the repository at this point in the history
  • Loading branch information
daiyam authored Sep 3, 2023
1 parent c2d980b commit 1c6056c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions build/update_api.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ fi
APIS=$( jq -r '.extensionEnabledApiProposals' "${DIRECTORY}/resources/app/product.json" )

APIS=$( echo "${APIS}" | jq '. += {"jeanp413.open-remote-ssh": ["resolvers", "tunnels", "terminalDataWriteEvent", "contribRemoteHelp", "contribViewsRemote"]}' )
APIS=$( echo "${APIS}" | jq '. += {"jeanp413.open-remote-wsl": ["resolvers", "contribRemoteHelp", "contribViewsRemote"]}' )

jsonTmp=$( jq --argjson v "${APIS}" 'setpath(["extensionEnabledApiProposals"]; $v)' product.json )
echo "${jsonTmp}" > product.json && unset jsonTmp
5 changes: 5 additions & 0 deletions product.json
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,11 @@
"terminalDataWriteEvent",
"contribRemoteHelp",
"contribViewsRemote"
],
"jeanp413.open-remote-wsl": [
"resolvers",
"contribRemoteHelp",
"contribViewsRemote"
]
},
"extensionKind": {
Expand Down

0 comments on commit 1c6056c

Please sign in to comment.