cleanup: trim trailing whitespace (#11136)
* cleanup: trim trailing whitespace * update(`.editorconfig`) --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
This commit is contained in:
parent
4c879b3a33
commit
d84796588c
161 changed files with 615 additions and 609 deletions
|
@ -672,7 +672,7 @@ export class NoteCreateService implements OnApplicationShutdown {
|
|||
// Register to search database
|
||||
this.index(note);
|
||||
}
|
||||
|
||||
|
||||
@bindThis
|
||||
private isSensitive(note: Option, sensitiveWord: string[]): boolean {
|
||||
if (sensitiveWord.length > 0) {
|
||||
|
@ -758,7 +758,7 @@ export class NoteCreateService implements OnApplicationShutdown {
|
|||
@bindThis
|
||||
private index(note: Note) {
|
||||
if (note.text == null && note.cw == null) return;
|
||||
|
||||
|
||||
this.searchService.indexNote(note);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue