Skip to content

Commit ab9e1ed

Browse files
committed
Update NuGet publish references in tests to use DotNet.nugetPush
1 parent 8fac2a5 commit ab9e1ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/MiniScaffold.Tests/Asserts.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ module Effect =
443443

444444
match
445445
lines
446-
|> Array.tryFindIndex (fun line -> line.Contains "NuGet.NuGet.NuGetPublish(")
446+
|> Array.tryFindIndex (fun line -> line.Contains "DotNet.nugetPush")
447447
with
448448
| None -> ()
449449
| Some startIdx ->
@@ -452,7 +452,7 @@ module Effect =
452452

453453
while keepGoing
454454
&& i < Array.length lines do
455-
if lines.[i].Trim() = "})" then
455+
if lines.[i].Trim() = "\"*.nupkg\"" then
456456
keepGoing <- false
457457
// Then fall through to comment out this line, too
458458
lines.[i] <-

0 commit comments

Comments
 (0)