Skip to content

Commit 291c4b4

Browse files
authored
Fix indent
1 parent cae5968 commit 291c4b4

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

src/common.jl

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -56,20 +56,20 @@ Gets the testfile path of the package. Code for each Julia version mirrors that
5656
in `Pkg/src/Operations.jl`.
5757
"""
5858
function get_test_dir(ctx::Context, pkgspec::Pkg.Types.PackageSpec)
59-
if is_project_uuid(ctx.env, pkgspec.uuid)
60-
pkgspec.path = dirname(ctx.env.project_file)
61-
pkgspec.version = ctx.env.pkg.version
62-
else
63-
is_stdlib(pkgspec.uuid) && return
64-
entry = manifest_info(ctx.env.manifest, pkgspec.uuid)
65-
pkgspec.version = entry.version
66-
pkgspec.tree_hash = entry.tree_hash
67-
pkgspec.repo = entry.repo
68-
pkgspec.path = entry.path
69-
pkgspec.pinned = entry.pinned
70-
pkgspec.path = project_rel_path(ctx.env, source_path(ctx.env.project_file, pkgspec))
71-
end
72-
pkgfilepath = source_path(ctx.env.project_file, pkgspec)
59+
if is_project_uuid(ctx.env, pkgspec.uuid)
60+
pkgspec.path = dirname(ctx.env.project_file)
61+
pkgspec.version = ctx.env.pkg.version
62+
else
63+
is_stdlib(pkgspec.uuid) && return
64+
entry = manifest_info(ctx.env.manifest, pkgspec.uuid)
65+
pkgspec.version = entry.version
66+
pkgspec.tree_hash = entry.tree_hash
67+
pkgspec.repo = entry.repo
68+
pkgspec.path = entry.path
69+
pkgspec.pinned = entry.pinned
70+
pkgspec.path = project_rel_path(ctx.env, source_path(ctx.env.project_file, pkgspec))
71+
end
72+
pkgfilepath = source_path(ctx.env.project_file, pkgspec)
7373
return joinpath(pkgfilepath, "test")
7474
end
7575

@@ -80,4 +80,4 @@ function maybe_gen_project_override!(ctx, pkgspec)
8080
else
8181
nothing
8282
end
83-
end
83+
end

0 commit comments

Comments
 (0)