Skip to content

Commit

Permalink
Update error message to specify project.toml file (#2854)
Browse files Browse the repository at this point in the history
Co-authored-by: Fredrik Ekre <[email protected]>
  • Loading branch information
logankilpatrick and fredrikekre authored Jan 2, 2022
1 parent f274286 commit 3e00169
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@ end

function resolve_projectfile!(env::EnvCache, pkg, project_path)
project_file = projectfile_path(project_path; strict=true)
project_file === nothing && pkgerror(string("could not find project file in package at `",
project_file === nothing && pkgerror(string("could not find project file (Project.toml or JuliaProject.toml) in package at `",
something(pkg.repo.source, pkg.path, project_path), "` maybe `subdir` needs to be specified"))
project_data = read_package(project_file)
if pkg.uuid === nothing || pkg.uuid == project_data.uuid
Expand Down

0 comments on commit 3e00169

Please sign in to comment.