Skip to content

Commit

Permalink
(maint) Fix how codecov token is checked
Browse files Browse the repository at this point in the history
  • Loading branch information
AdmiringWorm committed May 2, 2024
1 parent f5fd5dd commit 6470c13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.cake
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Codecov(new CodecovSettings {{
Files = new[] {{ ""{1}"" }},
RootDirectory = ""{2}"",
NonZero = true,
DryRun = !HasEnvironmentVariable(""CODECOV_TOKEN"")
DryRun = string.IsNullOrEmpty(EnvironmentVariable(""CODECOV_TOKEN""))
}});",
nugetPkg, coverageFilter, BuildParameters.RootDirectoryPath);

Expand Down

0 comments on commit 6470c13

Please sign in to comment.