Skip to content

Commit adaf6b1

Browse files
Merge pull request #35 from theohbrothers/refactor/make-module-name-to-be-dynamic-in-test-entrypoint-script
Refactor: Make module name to be dynamic in test entrypoint script
2 parents 11aa44e + 1a90ca9 commit adaf6b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
param (
22
[string]$Tag = ''
33
)
4-
$MODULE_NAME = 'Log-Rotate'
4+
$MODULE_NAME = (Get-Item $PSScriptRoot/../).Name
55
$MODULE_DIR = "$PSScriptRoot/../src/$MODULE_NAME"
66
$MODULE_PATH = "$MODULE_DIR/$MODULE_NAME.psm1"
77

0 commit comments

Comments
 (0)