We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e8d510 commit 8cb0de1Copy full SHA for 8cb0de1
src/utils.ts
@@ -566,7 +566,12 @@ export function datetimeString(d: Date): string {
566
* Indicates whether the end-user is running the CLI from a cloud-based environment.
567
*/
568
export function isCloudEnvironment() {
569
- return !!process.env.CODESPACES || !!process.env.GOOGLE_CLOUD_WORKSTATIONS;
+ return (
570
+ !!process.env.CODESPACES ||
571
+ !!process.env.GOOGLE_CLOUD_WORKSTATIONS ||
572
+ !!process.env.CLOUD_SHELL ||
573
+ !!process.env.GOOGLE_CLOUD_SHELL
574
+ );
575
}
576
577
/**
0 commit comments