Netlify/0.8.5/PatchEnvironmentVariable
Codemod verified
Regularly tested and maintained by our engineers and codemod expert community.
Netlify-sdk
migration
This codemod changes patchEnvironmentVariable
to pass an object instead of the separate arguments as required in Netlify SDK v0.8.5.
Before
patchEnvironmentVariable(accountId,siteId,key,context,value,contextParameter,);
After
patchEnvironmentVariable({accountId: accountId,siteId: siteId,key: key,context: context,value: value,contextParameter: contextParameter,});
Build custom codemods
Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community