This website works better with JavaScript.
Home
Explore
Help
Sign In
nekobus
/
mastodon_neko
forked from
closed-social/mastodon
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Handle if username is not found on tootctl feeds build (
#9040
)
master
Jeong Arm
6 years ago
committed by
Eugen Rochko
parent
8d70d3de38
commit
68f0e4d54e
1 changed files
with
5 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-0
lib/mastodon/feeds_cli.rb
+ 5
- 0
lib/mastodon/feeds_cli.rb
View File
@ -54,6 +54,11 @@ module Mastodon
elsif
username
.
present?
account
=
Account
.
find_local
(
username
)
if
account
.
nil?
say
(
"
Account
#{
username
}
is not found
"
,
:red
)
exit
(
1
)
end
if
options
[
:background
]
RegenerationWorker
.
perform_async
(
account
.
id
)
unless
options
[
:dry_run
]
else
Write
Preview
Loading…
Cancel
Save