Skip to content

Commit

Permalink
Fixes results from semmle run. (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
gfs committed Apr 4, 2019
1 parent f2709b0 commit a7ec3ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Lib/Objects/FileSystemObject.cs
Expand Up @@ -40,7 +40,7 @@ public string SignatureStatus
{
return "Not signed";
}
else if (certStatus.Equals("Valid")) // lgtm[cs/hardcoded-credentials]
else if (certStatus.Equals("Valid")) // lgtm [cs/hardcoded-credentials]
{
return "Valid";
}
Expand Down Expand Up @@ -72,11 +72,11 @@ public string SignatureStatus
var certStatus = process.StandardOutput.ReadToEnd().Trim();
process.WaitForExit();

if (certStatus == null || certStatus.Equals("NotSigned"))
if (certStatus == null || certStatus.Equals("NotSigned")) //lgtm [cs/hardcoded-credentials]
{
return "Not signed";
}
else if (certStatus.Equals("Valid"))
else if (certStatus.Equals("Valid")) //lgtm [cs/hardcoded-credentials]
{
return "Valid";
}
Expand Down

0 comments on commit a7ec3ab

Please sign in to comment.