Browse Source

Make 'command does not apply' warning into a warning

Jeremy Raymond 15 years ago
parent
commit
8e195e5337
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/rebar_core.erl

+ 1
- 1
src/rebar_core.erl View File

@ -331,7 +331,7 @@ apply_commands([], _Modules, _Config, _ModuleFile) ->
apply_commands([Command | Rest], Modules, Config, ModuleFile) -> apply_commands([Command | Rest], Modules, Config, ModuleFile) ->
case select_modules(Modules, Command, []) of case select_modules(Modules, Command, []) of
[] -> [] ->
?CONSOLE("WARNING: '~p' command does not apply to directory ~s\n",
?WARN("'~p' command does not apply to directory ~s\n",
[Command, rebar_utils:get_cwd()]), [Command, rebar_utils:get_cwd()]),
apply_commands(Rest, Modules, Config, ModuleFile); apply_commands(Rest, Modules, Config, ModuleFile);
TargetModules -> TargetModules ->

Loading…
Cancel
Save