Skip to content

Commit

Permalink
Merge pull request #527 from OctopusDeploy/enh-cacInitialiseVcsPassword
Browse files Browse the repository at this point in the history
initialise sensitive value to avoid nullrefs
  • Loading branch information
emilol authored May 28, 2020
2 parents d1387ff + c312763 commit 1303eaf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class VersionControlSettingsResource
[Writeable]
public string Username { get; set; }
[Writeable]
public SensitiveValue Password { get; set; }
public SensitiveValue Password { get; set; } = new SensitiveValue();
[Writeable]
public string DefaultBranch { get; set; }
}
Expand Down

0 comments on commit 1303eaf

Please sign in to comment.