We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 808664b commit 1bbcd18Copy full SHA for 1bbcd18
src/index.ts
@@ -47,8 +47,8 @@ export const run = async () => {
47
config("integrations")[integration.name].frequency === "daily"
48
) {
49
console.log("Updating", integration.name);
50
- if (process.env.MODE === "legacy" && "legacy" in integration && typeof integration.legacy === "function")
51
- await integration.legacy();
+ if (typeof process.env.LEGACY === "string" && "legacy" in integration && typeof integration.legacy === "function")
+ await integration.legacy(process.env.LEGACY as string);
52
else await integration.update();
53
} else {
54
console.log("Skipping", integration.name);
0 commit comments