Skip to content

Commit 12e272e

Browse files
committed
Use commands from module instread of relative path access
1 parent ae51d05 commit 12e272e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

NullKit.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
@{
33
RootModule = 'NullKit.psm1'
4-
ModuleVersion = '1.0.0'
4+
ModuleVersion = '1.0.2'
55
GUID = '654a73f5-effe-42fc-8e75-ee439726bd26'
66
Author = 'Alan Plocieniak'
77
CompanyName = 'Alan Plocieniak'

git/Remove-MergedBranches.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Removes all merged branches except specified branches: master, feature1
2525
)
2626

2727
process {
28-
. $PSScriptRoot\Get-MergedBranchces.ps1 $Branches | % {
28+
Get-MergedBranchces $Branches | % {
2929
$branch = $_
3030
if ($PSCmdlet.ShouldProcess($branch)) {
3131
git branch -d $branch

git/Remove-MergedRemoteBranches.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Removes all merged remote branches except specified branches: master, feature1
2525
)
2626

2727
process {
28-
. $PSScriptRoot\Get-MergedRemoteBranchces.ps1 -Branches $Branches | % {
28+
Get-MergedRemoteBranchces -Branches $Branches | % {
2929
$i = $_.IndexOf("/")
3030
$origin = $_.Substring(0, $i)
3131
$branch = $_.Substring($i + 1)

0 commit comments

Comments
 (0)