Skip to content

Commit

Permalink
Fix: Crash from 0.7.0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
rzander committed May 5, 2017
1 parent e488d90 commit 373f976
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/REG2CI/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.7.0.*")]
[assembly: AssemblyFileVersion("0.7.0.12")]
[assembly: AssemblyFileVersion("0.7.0.13")]
2 changes: 1 addition & 1 deletion Source/REG2CI/RegClass.cs
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ public string PSRemediate
if (Action == KeyAction.Add)
{
//Create key if it does not exist
return string.Format("if((Test-Path \"{0}\") -ne $true) { New-Item \"{0}\" -force -ea SilentlyContinue }", PSHive + ":\\" + Path);
return string.Format("if((Test-Path \"{0}\") -ne $true) {{ New-Item \"{0}\" -force -ea SilentlyContinue }}", PSHive + ":\\" + Path);
// return string.Format("New-Item \"{0}\" -ea SilentlyContinue", PSHive + ":\\" + Path);
}
else
Expand Down

0 comments on commit 373f976

Please sign in to comment.