Skip to content

Commit 2b4a819

Browse files
committed
fix(console): Fix param delete-build
1 parent 5e88397 commit 2b4a819

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Commands/PrefixCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public function handle()
100100
return 1;
101101
}
102102

103-
$deleteBuild = $this->hasOption('delete-build');
103+
$deleteBuild = (bool) $this->option('delete-build');
104104

105105
$processor = new Processor($personalAccessToken);
106106
$build = $processor->run($sourceDirectory, $targetDirectory, $projectId, $githubAccessToken);

0 commit comments

Comments
 (0)