Skip to content

Commit

Permalink
Removed typo in gitter plugin
Browse files Browse the repository at this point in the history
due to this typo it prevented the formatting of the
gitter message.
  • Loading branch information
AdmiringWorm committed Jun 14, 2018
1 parent 04be280 commit d211ac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AU/Plugins/Gitter.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ $failedPackages = $Info.error_count.total
$gistUrl = $Info.plugin_results.Gist -split '\n' | select -Last 1
$packageCount = $Info.result.all.Length

$gitterMessage = ($MessageFormat = -f $packageCount, $updatedPackages, $publishedPackages, $failedPackages, $gistUrl)
$gitterMessage = ($MessageFormat -f $packageCount, $updatedPackages, $publishedPackages, $failedPackages, $gistUrl)

$arguments = @{
Body = if ($failedPackages -gt 0) { "message=$gitterMessage&level=error" } else { "message=$gitterMessage" }
Expand Down

0 comments on commit d211ac5

Please sign in to comment.