Skip to content

Commit

Permalink
build: use CommandLineParser.BooleanVal
Browse files Browse the repository at this point in the history
  • Loading branch information
WeihanLi authored Jul 10, 2024
1 parent 8ee70b2 commit 12df918
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

var target = CommandLineParser.Val("target", "Default", args);
var apiKey = CommandLineParser.Val("apiKey", "", args);
var stable = CommandLineParser.Val("stable", null, args).ToBoolean();
var noPush = CommandLineParser.Val("noPush", null, args).ToBoolean();
var stable = CommandLineParser.BooleanVal("stable", false, args);
var noPush = CommandLineParser.BooleanVal("noPush", false, args);
var branchName = EnvHelper.Val("BUILD_SOURCEBRANCHNAME", "local");

var solutionPath = "./WeihanLi.Common.sln";
Expand Down

0 comments on commit 12df918

Please sign in to comment.