File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
packages/not-shared/scripts Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,9 @@ class Runner implements IRunner {
39
39
// add block list
40
40
if ( blockList . includes ( username ) ) {
41
41
console . log ( `${ username } 유저는 이미 등록되어 있습니다.` )
42
+ } else {
43
+ await this . blockList . addBlockList ( username )
44
+ console . log ( `${ username } 유저가 blockList에 등록되었습니다.` )
42
45
}
43
46
44
47
if ( posts . length === 0 ) {
@@ -61,8 +64,6 @@ class Runner implements IRunner {
61
64
// set private = true
62
65
await this . setIsPrivatePost ( postIds )
63
66
64
- await this . blockList . addBlockList ( username )
65
-
66
67
const blockUesrInfo : BlockUserInfo = {
67
68
id : user . id ,
68
69
username : user . username ,
@@ -91,8 +92,6 @@ class Runner implements IRunner {
91
92
userInfo : userInfo ,
92
93
} ) ,
93
94
)
94
-
95
- console . log ( `${ userInfo . username } 유저가 처리 되었습니다.` )
96
95
} )
97
96
98
97
await Promise . all ( promises )
You can’t perform that action at this time.
0 commit comments