Skip to content

Commit

Permalink
Fix: import_config cannot find dev.exs
Browse files Browse the repository at this point in the history
  • Loading branch information
dgigafox committed Jul 20, 2023
1 parent 03636b2 commit 7bede11
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Add `drill` to your list of dependencies in `mix.exs`:
```
def deps do
[
{:drill, "~> 1.1"}
{:drill, "~> 1.2"}
]
end
```
Expand Down
4 changes: 3 additions & 1 deletion config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ import Config

# Import environment specific config. This must remain at the bottom
# of this file so it overrides the configuration defined above.
import_config "#{Mix.env()}.exs"
if File.exists?("config/#{Mix.env()}.exs") do
import_config "#{Mix.env()}.exs"
end
2 changes: 1 addition & 1 deletion lib/drill.ex
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ defmodule Drill do
```
def deps do
[
{:drill, "~> 1.1"}
{:drill, "~> 1.2"}
]
end
```
Expand Down

0 comments on commit 7bede11

Please sign in to comment.