Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 60bf7fb

Browse files
committedNov 21, 2024·
Update/fix comments.
1 parent 48ba4e2 commit 60bf7fb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎build/Install-Dependencies.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ------------------------------------------------------------------------------
22
# Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
3-
#
3+
# ------------------------------------------------------------------------------
44

55
[CmdletBinding()]
66
param(
@@ -26,6 +26,7 @@ try {
2626
Write-Error -Message "Failed to load common-functions.ps1. Error: $_" -RecommendedAction "This script should be run from the 'build' folder. Ensure 'common-functions.ps1' exists and is accessible."
2727
}
2828

29+
# Get module settings from the relevant ModuleSettings.json file.
2930
if ($ModuleSettingsPath) {
3031
$SettingsPath = $ModuleSettingsPath
3132
} else {
@@ -34,6 +35,7 @@ if ($ModuleSettingsPath) {
3435
$ModuleSettings = Get-Content -Path $SettingsPath | ConvertFrom-Json
3536
$RequiredVersion = $ModuleSettings.destinationModuleVersion
3637

38+
# Do not check for installed modules if -Force is specified.
3739
if ($Force) {
3840
Write-Verbose 'Skipping the check for installed prerequisites. Forcing the installation of all required modules.'
3941
} else {

0 commit comments

Comments
 (0)
Please sign in to comment.