Skip to content

Commit

Permalink
Fix migration script
Browse files Browse the repository at this point in the history
  • Loading branch information
nwmac committed May 22, 2020
1 parent 77c0dab commit 57154d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/tools/v4-migration/migrate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function migrateExtensions() {

sed -i '' "s/imports: \[/imports: \[ StratosComponentsModule,/" ${EXT_DIR}/src/custom.module.ts

echo "import { StratosComponentsModule } from '@stratos/shared';" | cat - ${EXT_DIR}/src/custom.module.ts > ${EXT_DIR}/temp.ts
echo "import { StratosComponentsModule } from '@stratosui/shared';" | cat - ${EXT_DIR}/src/custom.module.ts > ${EXT_DIR}/temp.ts
mv -f ${EXT_DIR}/temp.ts ${EXT_DIR}/src/custom.module.ts

if [ -f ${EXT_DIR}/src/custom-routing.module.ts ]; then
Expand Down

0 comments on commit 57154d0

Please sign in to comment.