diff options
Diffstat (limited to '.github/devcontainers-action/lib/generateDocs.js')
-rw-r--r-- | .github/devcontainers-action/lib/generateDocs.js | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/.github/devcontainers-action/lib/generateDocs.js b/.github/devcontainers-action/lib/generateDocs.js index 707ab12..b82517f 100644 --- a/.github/devcontainers-action/lib/generateDocs.js +++ b/.github/devcontainers-action/lib/generateDocs.js @@ -1,7 +1,11 @@ "use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; @@ -115,14 +119,11 @@ const README_TEMPLATE = ` ## Example Usage \`\`\`json -"features": [ - { - "id": "#{nwo}/#{featureId}@#{versionTag}", - "options": { +"features": { + "#{nwo}/#{featureId}@#{versionTag}": { "version": "latest" } - } -] +} \`\`\` ## Options |