mirror of
https://github.com/aleleba/aleleba-vscode-dockerfile-configuration.git
synced 2025-06-20 21:08:12 -06:00
Changing the extensions.json structure to have more order. Updating to version 1.1.0
This commit is contained in:
@ -20,8 +20,8 @@ if [ -f "/home/extensions.json" ]; then
|
||||
# Read the JSON file into a variable
|
||||
jsonExtensions=$(cat /home/extensions.json)
|
||||
|
||||
# Use jq to extract the array elements
|
||||
extensions=$(echo $jsonExtensions | jq -r '.[]')
|
||||
# Use jq to extract the extension parameter from the JSON array
|
||||
extensions=$(echo $jsonExtensions | jq -r '.[].extensionsGroup[].extensions[].uniqueIdentifier')
|
||||
|
||||
# Loop through the extensions and process each element
|
||||
for extension in $extensions; do
|
||||
|
Reference in New Issue
Block a user