Skip to content

Commit

Permalink
Update logging
Browse files Browse the repository at this point in the history
  • Loading branch information
jvlflame committed Sep 1, 2020
1 parent ef5b42d commit cd217cf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Javinizer/Private/Get-JVUrlLocation.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
function Get-JVUrlLocation {
[CmdletBinding()]
param(
param (
[Parameter(Mandatory = $true, Position = 0, ValueFromPipeline = $true)]
[PSObject]$Url
)
Expand Down
2 changes: 1 addition & 1 deletion src/Javinizer/Public/Get-DmmUrl.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function Get-DmmUrl {
}

if ($null -eq $directUrl) {
Write-JVLog -Level Warning -Message "[$Id] [$($MyInvocation.MyCommand.Name)] Search [$Id] not matched on DMM"
Write-JVLog -Level Warning -Message "[$Id] not matched on DMM"
return
} else {
$urlObject = [PSCustomObject]@{
Expand Down
4 changes: 2 additions & 2 deletions src/Javinizer/Public/Get-Jav321Url.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function Get-Jav321Url {
}

if ($null -eq $directUrl) {
Write-JVLog -Level Warning -Message "[$Id] [$($MyInvocation.MyCommand.Name)] Search [$Id] not matched on Jav321"
Write-JVLog -Level Warning -Message "[$Id] Search [$Id] not matched on Jav321"
return
} else {
$urlObject = [PSCustomObject]@{
Expand All @@ -67,7 +67,7 @@ function Get-Jav321Url {
Write-Output $urlObject
}
} else {
Write-JVLog -Level Warning -Message "[$Id] [$($MyInvocation.MyCommand.Name)] Search [$Id] not matched on Jav321"
Write-JVLog -Level Warning -Message "[$Id] Search [$Id] not matched on Jav321"
return
}
}
Expand Down

0 comments on commit cd217cf

Please sign in to comment.