Netlify/0.8.5/DeleteEnvironmentVariables

1.0.1Last update Jul 24, 2024
by@Codemod
Netlify-sdk
migration

This codemod changes deleteEnvironmentVariables to pass an object instead of the separate arguments as required in Netlify SDK v0.8.5.

Before

deleteEnvironmentVariables(accountId, siteId, variables);

After

deleteEnvironmentVariables({
accountId: accountId,
siteId: siteId,
variables: variables,
});

Build custom codemods

Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community

background illustrationGet Started Now