This codemod changes updateEnvironmentVariable
to pass an object instead of the separate arguments as required in Netlify SDK v0.8.5.
Before
updateEnvironmentVariable(accountId, siteId, key, values);
After
updateEnvironmentVariable({accountId: accountId,siteId: siteId,key: key,values: values,});
Build custom codemods
Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community