mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 10:27:26 +00:00
feat: migration automatic information on running migration without env
This commit is contained in:
@@ -41,6 +41,10 @@ export const getMigrationEnvConfig = () => {
|
|||||||
// eslint-disable-next-line no-console
|
// eslint-disable-next-line no-console
|
||||||
console.error("Invalid environment variables. Check the error below");
|
console.error("Invalid environment variables. Check the error below");
|
||||||
// eslint-disable-next-line no-console
|
// eslint-disable-next-line no-console
|
||||||
|
console.error(
|
||||||
|
"Migration is now automatic at startup. Please remove this step from your workflow and start the application as normal."
|
||||||
|
);
|
||||||
|
// eslint-disable-next-line no-console
|
||||||
console.error(parsedEnv.error.issues);
|
console.error(parsedEnv.error.issues);
|
||||||
process.exit(-1);
|
process.exit(-1);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user