Skip to content

Commit

Permalink
Suppress warnings from importing dependencies so it won't be redirect…
Browse files Browse the repository at this point in the history
…ed to UI for #13
  • Loading branch information
gitfvb committed Jul 16, 2024
1 parent faeb6a4 commit acaa022
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion AptecoPSFramework/public/Import-Lib.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Function Import-Lib {
#Set-Location $localLibFolderItem.Parent.FullName

# Import the dependencies
Import-Dependencies -LoadWholePackageFolder -LocalPackageFolder $localLibFolder #$localLibFolderItem.name
Import-Dependencies -LoadWholePackageFolder -LocalPackageFolder $localLibFolder -SuppressWarnings #$localLibFolderItem.name

# Go back, if needed
#Set-Location -Path $currentLocation.Path
Expand Down
1 change: 1 addition & 0 deletions AptecoPSFramework/public/Plugins/Import-Plugin.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@
Write-Log "Loading lib folder from: '$( $localLibFolder )'"
$dependencyParams.Add("LoadWholePackageFolder", $true)
$dependencyParams.Add("LocalPackageFolder", $localLibFolder)
$dependencyParams.Add("SuppressWarnings", $true)

#$localLibFolderItem.fullname

Expand Down

0 comments on commit acaa022

Please sign in to comment.