From 688a67151bdc948efb98772bfa06fce578082093 Mon Sep 17 00:00:00 2001 From: onyx-and-iris <75868496+onyx-and-iris@users.noreply.github.com> Date: Sun, 30 Oct 2022 01:54:32 +0100 Subject: [PATCH] set default kind for pre-commit alter dot source for pre-commit --- tests/lower.Tests.ps1 | 2 +- tests/pre-commit.ps1 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/lower.Tests.ps1 b/tests/lower.Tests.ps1 index 0253a60..ad16a27 100644 --- a/tests/lower.Tests.ps1 +++ b/tests/lower.Tests.ps1 @@ -1,5 +1,5 @@ BeforeAll { - . ..\lib\base.ps1 + . .\lib\base.ps1 } Describe -Tag 'lower', -TestName 'All Lower Tests' { diff --git a/tests/pre-commit.ps1 b/tests/pre-commit.ps1 index 149e9cf..4ef36ee 100644 --- a/tests/pre-commit.ps1 +++ b/tests/pre-commit.ps1 @@ -1,5 +1,5 @@ -Param([String]$tag, [Int]$num=1, [switch]$log, [string]$kind) -Import-Module ..\lib\Voicemeeter.psm1 +Param([String]$tag, [Int]$num=1, [switch]$log, [string]$kind="potato") +Import-Module .\lib\Voicemeeter.psm1 Function ParseLog { Param([String]$logfile)