File tree 2 files changed +6
-2
lines changed
adev-ja/src/content/guide
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ await fixture.whenStable();
119
119
可能な限り` fixture.detectChanges() ` の使用を避けてください。これにより、
120
120
Angularが変更検知をスケジュールしていない場合に、
121
121
変更検知が強制的に実行されます。テストでは、これらの通知が発生していることを確認し、
122
- テストで手動で強制的に発生させるのではなく 、
122
+ 手動で強制的に発生させるのではなく 、
123
123
Angularが状態を同期するタイミングを処理できるようにする必要があります。
124
124
125
125
### 更新が検出されることを確認するためのデバッグモードチェック
Original file line number Diff line number Diff line change @@ -24,8 +24,12 @@ async function main() {
24
24
process . env . FORCE_COLOR = '1' ;
25
25
26
26
const files = await getTranslatedFiles ( ) ;
27
- const { stdout } = await $$ `textlint ${ fix ? [ '--fix' ] : [ ] } ${ files } ` ;
27
+ const { stdout, failed } = await $$ `textlint ${ fix ? [ '--fix' ] : [ ] } ${ files } ` ;
28
28
consola . log ( stdout . replace ( 'textlint --fix [file]' , 'yarn lint --fix' ) ) ;
29
+
30
+ if ( failed ) {
31
+ process . exit ( 1 ) ;
32
+ }
29
33
}
30
34
31
35
/**
You can’t perform that action at this time.
0 commit comments