Skip to content

Commit

Permalink
test: protect deletion of the nupkg on CI (because folder structure d…
Browse files Browse the repository at this point in the history
…oes not exist yet)
  • Loading branch information
MangelMaxime committed Oct 21, 2024
1 parent 14449e9 commit 039f8a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Main.fs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,8 @@ let ``should include the source file and the project file under 'fable' folder``
VirtualWorkspace.fixtures.valid.``library-with-files``.bin.Release.``MyLibrary.1.0.0.nupkg``
|> FileInfo

fileInfo.Delete()
if fileInfo.Exists then
fileInfo.Delete()

Command.Run(
"dotnet",
Expand Down

0 comments on commit 039f8a3

Please sign in to comment.