Skip to content

Commit

Permalink
Fix for #22
Browse files Browse the repository at this point in the history
  • Loading branch information
PrzemyslawKlys committed Aug 10, 2020
1 parent b09a53a commit 7707fee
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions PSTeams.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: Przemyslaw Klys
#
# Generated on: 29.07.2020
# Generated on: 10.08.2020
#

@{
Expand All @@ -12,7 +12,7 @@
RootModule = 'PSTeams.psm1'

# Version number of this module.
ModuleVersion = '1.0.4'
ModuleVersion = '1.0.5'

# Supported PSEditions
CompatiblePSEditions = 'Desktop', 'Core'
Expand Down
2 changes: 1 addition & 1 deletion Public/New-TeamsActivityImage.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
)
if ($Image) {
if ($Image -ne 'None') {
$StoredImages = [IO.Path]::Combine("$(Split-Path -Path $PSScriptRoot -Parent)", "Images")
$StoredImages = [IO.Path]::Combine($PSScriptRoot, '..', 'Images')
@{
ActivityImageLink = Get-Image -PathToImages $StoredImages -FileName $Image -FileExtension '.jpg' # -Verbose
type = 'ActivityImage'
Expand Down
2 changes: 1 addition & 1 deletion Public/New-TeamsSection.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function New-TeamsSection {
[switch] $StartGroup
)
if ($ActivityImage -ne 'None') {
$StoredImages = [IO.Path]::Combine("$(Split-Path -Path $PSScriptRoot -Parent)", "Images")
$StoredImages = [IO.Path]::Combine($PSScriptRoot, '..', 'Images')
$ActivityImageLink = Get-Image -PathToImages $StoredImages -FileName $ActivityImage -FileExtension '.jpg' # -Verbose
}

Expand Down

0 comments on commit 7707fee

Please sign in to comment.