diff --git a/lib/codemod/src/transforms/update-organisation-name.js b/lib/codemod/src/transforms/update-organisation-name.js index cfaf5afecbdb..0735bd9b7146 100644 --- a/lib/codemod/src/transforms/update-organisation-name.js +++ b/lib/codemod/src/transforms/update-organisation-name.js @@ -42,22 +42,13 @@ export default function transformer(file, api) { * getNewPackageName('@kadira/storybook') */ const getNewPackageName = oldPackageName => { - console.log('original ', oldPackageName); - const match = getMatch(oldPackageName); - console.log('replacement ', match); if (match) { const replacement = packageNames[match]; - console.log('replacement ', replacement); return oldPackageName.replace(match, replacement); } return oldPackageName; - - const packageNameWithoutPrefix = oldPackageName.slice(7); - const packageNameWithOrganisation = `@storybook${packageNameWithoutPrefix}`; - - return packageNameWithOrganisation; }; /**