Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const options = {
...argv,
spaceId: activeSpaceId,
managementApplication,
managementFeature,
accessToken: managementToken,
environmentId: activeEnvironmentId
}
if (proxy) {
// contentful-import and contentful-export
// expect a string for the proxy config
// and create agents from it
options.proxy = proxyObjectToString(proxy)
options.rawProxy = rawProxy
}
return runMigration(options)
}