@ampt/cli 1.1.5-beta.3 → 1.1.6-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/bin CHANGED
@@ -32,9 +32,8 @@ if (!process.env.AMPT_WS_ENDPOINT) {
32
32
  : `wss://${stage}.ws.amptlabs.dev`
33
33
  }
34
34
 
35
- // process.env.AMPT_IS_GITPOD = process.env.GITPOD_HOST && process.env.GITPOD_IDE_ALIAS
36
- process.env.AMPT_IS_GITPOD = true
37
- process.env.AMPT_IS_CODESPACES = process.env.USER === 'codespace' && !!process.env.GITHUB_CODESPACE_TOKEN
35
+ process.env.AMPT_IS_GITPOD = process.env.GITPOD_HOST && process.env.GITPOD_IDE_ALIAS ? 'true' : 'false'
36
+ process.env.AMPT_IS_CODESPACES = process.env.CODESPACES
38
37
 
39
38
  // Runtime Loader needs this set to work for scripts
40
39
  process.env.ESBUILD_PATH = 'esbuild'