@@ -15,9 +15,7 @@ $FollyVersion = $FollyVersion.Trim() # The extracted FollyVersion contains a spa
1515$FollyRoot = " $SourceRoot \node_modules\.folly" ;
1616$FollyOverrideRoot = " $ReactWindowsRoot \Folly\TEMP_UntilFollyUpdate" ;
1717
18- [string ] $FmtVersion = $props.Project.PropertyGroup.FmtVersion ;
19- $FmtVersion = $FmtVersion.Trim () # The extracted FmtVersion contains a space at the end that isn't actually present, issue #6216
20- $FmtRoot = " $SourceRoot \node_modules\.fmt\fmt-${FmtVersion} " ;
18+ $FmtRoot = " $ReactWindowsRoot \external\fmt" ;
2119
2220# Download Folly if running on a machine which hasn't run native build logic to acquire it
2321if (! (Test-Path $FollyRoot )) {
@@ -30,16 +28,7 @@ if (!(Test-Path $FollyRoot)) {
3028 Expand-Archive - LiteralPath $FollyZip - DestinationPath $FollyRoot
3129}
3230
33- # Download Fmt if running on a machine which hasn't run native build logic to acquire it
34- if (! (Test-Path $FmtRoot )) {
35- Write-Host " Downloading Fmt $FmtVersion "
36- $FmtZip = " $SourceRoot \node_modules\.fmt\fmt-${FmtVersion} .zip"
37- $FmtDest = " $SourceRoot \node_modules\.fmt"
38-
39- New-Item $FmtRoot - ItemType Directory
40- Invoke-RestMethod - Uri " https://github.com/fmtlib/fmt/archive/refs/tags/$FmtVersion .zip" - OutFile $FmtZip
41- Expand-Archive - LiteralPath $FmtZip - DestinationPath $FmtDest
42- }
31+ # Fmt source is committed in vnext/external/fmt/ — no download needed
4332
4433Write-Host " Source root: [$SourceRoot ]"
4534Write-Host " Destination root: [$TargetRoot ]"
0 commit comments