From bfa0aa1de0e8fd65be3ba3ea1a000142f93f74c3 Mon Sep 17 00:00:00 2001 From: Stephen Date: Wed, 17 Jun 2020 09:02:18 +0100 Subject: [PATCH 1/2] Fix build --- Tests/SnipeItPS.Tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/SnipeItPS.Tests.ps1 b/Tests/SnipeItPS.Tests.ps1 index b14b19e..da51c1b 100644 --- a/Tests/SnipeItPS.Tests.ps1 +++ b/Tests/SnipeItPS.Tests.ps1 @@ -4,7 +4,7 @@ $here = Split-Path -Parent $MyInvocation.MyCommand.Path $projectRoot = Split-Path -Parent $here $moduleRoot = "$projectRoot\SnipeitPS" -$manifestFile = "$moduleRoot\SnipeitPS.psd1" +$script:manifestFile = "$moduleRoot\SnipeitPS.psd1" $changelogFile = "$projectRoot\CHANGELOG.md" $appveyorFile = "$projectRoot\appveyor.yml" $publicFunctions = "$moduleRoot\Public" From 28a3d40d51ca216007ae4c77d9cc053e5feb57da Mon Sep 17 00:00:00 2001 From: Stephen Date: Wed, 17 Jun 2020 09:18:28 +0100 Subject: [PATCH 2/2] Update SnipeItPS.build.ps1 --- SnipeItPS.build.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SnipeItPS.build.ps1 b/SnipeItPS.build.ps1 index 2044ef4..03a623d 100644 --- a/SnipeItPS.build.ps1 +++ b/SnipeItPS.build.ps1 @@ -21,7 +21,7 @@ $env:PSModulePath = "$($env:PSModulePath);$releasePath" Import-Module BuildHelpers # Ensure Invoke-Build works in the most strict mode. -Set-StrictMode -Version Latest +#Set-StrictMode -Version Latest # region debug information task ShowDebug {