Skip to content

Commit e37fc2e

Browse files
authored
Fix variable name in findproject (#276)
* Fix variable name in `findproject` * Increment patch version
1 parent b6bd09f commit e37fc2e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "DrWatson"
22
uuid = "634d3b9d-ee7a-5ddf-bec9-22491ea816e1"
33
repo = "https://github.com/JuliaDynamics/DrWatson.jl.git"
4-
version = "2.1.2"
4+
version = "2.1.3"
55

66
[deps]
77
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"

src/project_setup.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ _projectname(::Nothing) = nothing
5858

5959

6060
"""
61-
findproject(path = pwd()) -> project_path
62-
Recursively search `path` and its parents for a valid Julia project file
61+
findproject(dir = pwd()) -> project_path
62+
Recursively search `dir` and its parents for a valid Julia project file
6363
(anything in `Base.project_names`).
6464
If it is found return its path, otherwise issue a warning and return
6565
`nothing`.
@@ -82,7 +82,7 @@ function findproject(dir::AbstractString = pwd())
8282
dir == old && break
8383
end
8484
@warn "DrWatson could not find find a project file by recursively checking "*
85-
"given `path` and its parents. Returning `nothing` instead.\n(given path: $path)"
85+
"given `dir` and its parents. Returning `nothing` instead.\n(given dir: $dir)"
8686
return nothing
8787
end
8888

0 commit comments

Comments
 (0)