Skip to content

Commit 18166ec

Browse files
azizkprincemaple
authored andcommitted
Commands: mention mix do deps.get + compile if _build/ wasn't found.
1 parent f07c195 commit 18166ec

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

commands/mix_format.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def call_mix_format(window, **kwargs):
7676
if not (cwd or file_path):
7777
print_status_msg(
7878
'Error: could not find a mix.exs file and the _build/ directory! '
79-
+ 'Make sure that you are in a mix project and that `mix deps.get` was run.'
79+
+ 'Make sure that you are in a mix project and that `mix do deps.get + compile` was run.'
8080
)
8181
return
8282

commands/mix_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def run(self, **_kwargs):
3737
else:
3838
sublime.message_dialog(
3939
'Error: could not find a mix.exs file and the _build/ directory!\n' +
40-
'Make sure that you are in a mix project and that `mix deps.get` has been run.'
40+
'Make sure that you are in a mix project and that `mix do deps.get + compile` has been run.'
4141
)
4242

4343
class MixTestCommand(sublime_plugin.WindowCommand):
@@ -433,7 +433,7 @@ def reverse_find_json_path(window, json_file_path):
433433

434434
root_dir or print_status_msg(
435435
'Error: could not find a mix.exs file and the _build/ directory! '
436-
+ 'Make sure that you are in a mix project and that `mix deps.get` was run.'
436+
+ 'Make sure that you are in a mix project and that `mix do deps.get + compile` was run.'
437437
)
438438

439439
return root_dir and path.join(root_dir, json_file_path) or None

0 commit comments

Comments
 (0)