JuliaDatabases / ODBC.jl

An ODBC interface for the Julia programming language
https://odbc.juliadatabases.org/stable
Other
106 stars 63 forks source link

Don't run mkdir if dir exists (or it will error) #279

Closed iamed2 closed 4 years ago

iamed2 commented 4 years ago

I deleted my config files but not the config directory and got an error when running ]build:

┌ Error: Error building `ODBC`:
│ ERROR: LoadError: IOError: mkdir: file already exists (EEXIST)
│ Stacktrace:
│  [1] uv_error at ./libuv.jl:97 [inlined]
│  [2] mkdir(::String; mode::UInt16) at ./file.jl:177
│  [3] mkdir(::String) at ./file.jl:170
│  [4] top-level scope at /Users/ericdavies/repos/ODBC.jl/deps/build.jl:2
│  [5] include(::String) at ./client.jl:439
│  [6] top-level scope at none:5
│ in expression starting at /Users/ericdavies/repos/ODBC.jl/deps/build.jl:2

This fixes that

codecov[bot] commented 4 years ago

Codecov Report

Merging #279 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #279   +/-   ##
=======================================
  Coverage   74.88%   74.88%           
=======================================
  Files           5        5           
  Lines         661      661           
=======================================
  Hits          495      495           
  Misses        166      166           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 34d2e28...87cc5ca. Read the comment docs.