Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 674ff68

Browse files
Find and replace on upgrade
1 parent 1062278 commit 674ff68

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/schematics/update/v7/index.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ export const ngUpdate = (): Rule => (
4646
return;
4747
}
4848
// TODO clean this up
49-
content.replace(/(?<key>import|export)\s+(?:(?<alias>[\w,{}\s\*]+)\s+from)?\s*(?:(["'])?firebase\/(?<ref>[@\w\s\\\/.-]+)3円?)\s*;/, "1ドル 2ドル from 3ドルfirebase/compat/4ドル3ドル;");
50-
content.replace(/(?<key>import|export)\s+(?:(?<alias>[\w,{}\s\*]+)\s+from)?\s*(?:(["'])?@firebase\/(?<ref>[@\w\s\\\/.-]+)3円?)\s*;/, "1ドル 2ドル from 3ドル@firebase/compat/4ドル3ドル;");
51-
content.replace(/(?<key>import|export)\s+(?:(?<alias>[\w,{}\s\*]+)\s+from)?\s*(?:(["'])?@angular\/fire\/(?<ref>[@\w\s\\\/.-]+)3円?)\s*;/, "1ドル 2ドル from 3ドル@angular/fire/compat/4ドル3ドル;");
49+
content.replace(/(?<key>import|export)\s+(?:(?<alias>[\w,{}\s\*]+)\s+from)?\s*(?:(["'])?firebase\/(?<ref>[@\w\s\\\/.-]+)3円?)\s*;/, '1ドル 2ドル from 3ドルfirebase/compat/4ドル3ドル;');
50+
content.replace(/(?<key>import|export)\s+(?:(?<alias>[\w,{}\s\*]+)\s+from)?\s*(?:(["'])?@firebase\/(?<ref>[@\w\s\\\/.-]+)3円?)\s*;/, '1ドル 2ドル from 3ドル@firebase/compat/4ドル3ドル;');
51+
content.replace(/(?<key>import|export)\s+(?:(?<alias>[\w,{}\s\*]+)\s+from)?\s*(?:(["'])?@angular\/fire\/(?<ref>[@\w\s\\\/.-]+)3円?)\s*;/, '1ドル 2ドル from 3ドル@angular/fire/compat/4ドル3ドル;');
5252
host.overwrite(filePath, content);
5353
console.log(filePath);
5454
});

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /