This commit is contained in:
Zeeshaun
2026-03-23 11:21:52 -05:00
parent de9ddd5001
commit a17bc4b4a9
426 changed files with 60574 additions and 1 deletions
@@ -0,0 +1,15 @@
/*eslint-disable*/
/*
Returns Error When Docker Environment Variable is NOT present.
When used with || will SKIP the next step when ENV_IS_DOCKER is true
> node isDockerEnv.js || node version.js
When used with && will stop scripts from running when ENV_IS_DOCKER is missing or false and error out
> node isDockerEnv.js && node test.js
*/
if (process.env.ENV_IS_DOCKER) {
console.log("isDockerEnv: Script is running in Docker.");
process.exit(0);
}
process.exit(1);