Skip to content

Commit

Permalink
windows debug
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelHatherly committed Jun 20, 2024
1 parent 295c60a commit a6b931e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function prepare_package(packages_dir::String, project_dir::String)
version = project_data["version"]

package_dir = joinpath(packages_dir, name)
repo = "file://$(package_dir)"
repo = "file://$(Sys.iswindows() ? "/$(package_dir)" : "$(package_dir)")"
mkpath(joinpath(package_dir, "src"))

git = LocalRegistry.gitcmd(package_dir, TEST_GITCONFIG)
Expand Down Expand Up @@ -89,7 +89,7 @@ function with_empty_registry(f::Function)
run(`$upstream_git init -q --bare`)

downstream_dir = joinpath(testdir, "PackageBundlerTestRegistry")
repo = "file://$(upstream_dir)"
repo = "file://$(Sys.iswindows() ? "/$(upstream_dir)" : "$(upstream_dir)")"
LocalRegistry.create_registry(
downstream_dir,
repo;
Expand Down

0 comments on commit a6b931e

Please sign in to comment.