File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
projects/igniteui-angular/migrations Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -186,7 +186,9 @@ export class UpdateChanges {
186
186
const pos = positions [ i ] ;
187
187
fileContent = fileContent . slice ( 0 , pos . start ) + change . replaceWith + fileContent . slice ( pos . end ) ;
188
188
}
189
- this . host . overwrite ( entryPath , fileContent ) ;
189
+ if ( positions . length ) {
190
+ this . host . overwrite ( entryPath , fileContent ) ;
191
+ }
190
192
}
191
193
}
192
194
}
@@ -266,7 +268,7 @@ export class UpdateChanges {
266
268
continue ;
267
269
}
268
270
for ( const match of matches ) {
269
- if ( match . indexOf ( change . name ) ) {
271
+ if ( match . indexOf ( change . name ) !== - 1 ) {
270
272
const name = change . name . replace ( '$' , '\\$' ) ;
271
273
const reg = new RegExp ( String . raw `^\s*${ name } :` ) ;
272
274
const opening = `${ change . owner } (` ;
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ export function getProjects(config: WorkspaceSchema): WorkspaceProject<ProjectTy
42
42
for ( const projName of Object . keys ( config . projects ) ) {
43
43
const proj = config . projects [ projName ] ;
44
44
if ( ( proj . projectType && proj . projectType !== ProjectType . Application ) ||
45
- ( proj . architect && proj . architect . e2e ) ) {
45
+ ( proj . architect && proj . architect . e2e && ! proj . architect . build ) ) {
46
46
continue ;
47
47
}
48
48
projects . push ( proj as WorkspaceProject < ProjectType . Application > ) ;
Original file line number Diff line number Diff line change 63
63
},
64
64
"migration-13" : {
65
65
"version" : " 9.0.0" ,
66
- "description" : " Updates Ignite UI for Angular from v8.2.x to v9.2 .0" ,
66
+ "description" : " Updates Ignite UI for Angular from v8.2.x to v9.0 .0" ,
67
67
"factory" : " ./update-9_0_0"
68
68
}
69
69
}
You can’t perform that action at this time.
0 commit comments