diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2016-11-20 21:41:01 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-20 21:41:01 -0500 |
commit | 17e2356038fdc48eab830cf2719ef8e2e3e1748e (patch) | |
tree | 4a76f103fdad3a96cd1a97f6f43fccad4d1ad516 /src/rebar_file_utils.erl | |
parent | 8c4da25be01969d2392ed8229cccfda42316c306 (diff) | |
parent | e08145b498a59c1c0c100323646471ea1aa37c41 (diff) |
Merge pull request #1380 from ferd/fix-self-edoc
Allow rebar3 to edoc itself
Diffstat (limited to 'src/rebar_file_utils.erl')
-rw-r--r-- | src/rebar_file_utils.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_file_utils.erl b/src/rebar_file_utils.erl index 6721b5a..f2467c5 100644 --- a/src/rebar_file_utils.erl +++ b/src/rebar_file_utils.erl @@ -237,10 +237,10 @@ write_file_if_contents_differ(Filename, Bytes) -> %% returns an os appropriate tmpdir given a path -spec system_tmpdir() -> file:filename(). +system_tmpdir() -> system_tmpdir([]). + -spec system_tmpdir(PathComponents) -> file:filename() when PathComponents :: [file:name()]. - -system_tmpdir() -> system_tmpdir([]). system_tmpdir(PathComponents) -> Tmp = case erlang:system_info(system_architecture) of "win32" -> |