Skip to content

Commit af1721e

Browse files
committed
Update/fix comments.
1 parent f2cd6f9 commit af1721e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

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(
@@ -82,6 +82,7 @@ try {
8282
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."
8383
}
8484

85+
# Get module settings from the relevant ModuleSettings.json file.
8586
if ($ModuleSettingsPath) {
8687
$SettingsPath = $ModuleSettingsPath
8788
} else {
@@ -90,6 +91,7 @@ if ($ModuleSettingsPath) {
9091
$ModuleSettings = Get-Content -Path $SettingsPath | ConvertFrom-Json
9192
$RequiredVersion = $ModuleSettings.destinationModuleVersion
9293

94+
# Do not check for installed modules if -Force is specified.
9395
if ($Force) {
9496
Write-Verbose 'Skipping the check for installed prerequisites. Forcing the installation of all required modules.'
9597
} else {

0 commit comments

Comments
 (0)