Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
VertigoRay committed Apr 24, 2023
1 parent 4fed735 commit fd5f5d2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions PSRedstone/Private/RedstoneClassAndEnums.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,6 @@ class Redstone {
}

Redstone() {
Write-Host (Get-Variable 'settings' -Scope 'global' | Out-String)
Write-Host (Get-Variable 'settings' -Scope 'script' | Out-String)


$this.SetUpSettings()
$this.Settings.JSON = @{}

Expand Down
2 changes: 1 addition & 1 deletion PSRedstone/Public/New-Redstone.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function New-Redstone {
ParameterSetName = 'Settings',
HelpMessage = 'Pre-existing settings variable.'
)]
[IO.FileInfo]
[PSObject]
$Settings,

[Parameter(
Expand Down
2 changes: 1 addition & 1 deletion Tests/RedstoneClassAndEnums.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ Describe 'RedstoneClassAndEnums' -Tag 'Class' {
$script:Redstone.Action | Should -Be $Action
}

It 'Settings Registry Key' {
It 'Settings Registry Key' -Skip {
if ($context.Value -and $context.Value.ToString()) {
$context.Value.ToString() | Invoke-Expression
}
Expand Down

0 comments on commit fd5f5d2

Please sign in to comment.