File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
angular/migrations/standalone Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,10 @@ export const migrateImportStatements = async (
10
10
) => {
11
11
// Get all typescript source files in the project and update any @ionic /angular imports to @ionic /angular/standalone
12
12
for ( const sourceFile of project . getSourceFiles ( ) ) {
13
+ if ( sourceFile . getFilePath ( ) . endsWith ( ".html" ) ) {
14
+ continue ;
15
+ }
16
+
13
17
let hasChanges = false ;
14
18
15
19
const importDeclarations = sourceFile . getImportDeclarations ( ) ;
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ async function main() {
98
98
} ) ;
99
99
} catch ( e : any ) {
100
100
s . stop ( "An error occurred during the migration." , 1 ) ;
101
- log . error ( e . message ) ;
101
+ log . error ( e . stack ) ;
102
102
}
103
103
104
104
outro (
You can’t perform that action at this time.
0 commit comments