Skip to content

Commit cf99671

Browse files
Removed extra code
1 parent ab0a84e commit cf99671

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

app/Commands/ReadCommand.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ class ReadCommand extends Command
1717
. ' {--i|without-issues : Exclude issues from processing}'
1818
. ' {--s|without-pulls : Exclude Pull Requests from processing}'
1919
. ' {--o|with-open : Process including open Issues and Pull Requests}'
20-
. ' {--n|no-interaction : Do not ask any interactive question}'
2120
. ' {--token= : GitHub access token with "notifications" permissions}';
2221

2322
protected $description = 'Read all issue notifications';
@@ -40,7 +39,7 @@ protected function welcome(?string $repository): void
4039

4140
protected function hasContinue(): bool
4241
{
43-
return $this->noInteraction() || confirm('Continue');
42+
return confirm('Continue');
4443
}
4544

4645
protected function read(?string $repository): void
@@ -101,11 +100,6 @@ protected function withOpen(): bool
101100
return $this->option('with-open');
102101
}
103102

104-
protected function noInteraction(): bool
105-
{
106-
return $this->option('no-interaction');
107-
}
108-
109103
protected function token(): string
110104
{
111105
if ($token = $this->detectToken()) {

0 commit comments

Comments
 (0)