diff options
author | Josh Spicer <joshspicer@github.com> | 2022-06-22 21:24:45 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-22 21:24:45 +0300 |
commit | 6f107d547e2ee4d261bf45437294e9758e6027a2 (patch) | |
tree | d717ae4b6655e368812b88407b0442ea5516f1a6 /.github/devcontainers-action/lib/utils.js | |
parent | 01ba4acc42ceba681b7eab916a2035c6918c0132 (diff) |
update github action
Diffstat (limited to '.github/devcontainers-action/lib/utils.js')
-rw-r--r-- | .github/devcontainers-action/lib/utils.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/devcontainers-action/lib/utils.js b/.github/devcontainers-action/lib/utils.js index 165d1c2..7253a8d 100644 --- a/.github/devcontainers-action/lib/utils.js +++ b/.github/devcontainers-action/lib/utils.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]; |