Skip to content

Commit

Permalink
Give users a hint at what could be wrong when an imported blazerc can…
Browse files Browse the repository at this point in the history
…not be found.

--
PiperOrigin-RevId: 148199034
MOS_MIGRATED_REVID=148199034
  • Loading branch information
Googler authored and iirina committed Feb 22, 2017
1 parent cae4303 commit ee5797a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/cpp/option_processor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ blaze_exit_code::ExitCode OptionProcessor::RcFile::Parse(
&& !workspace_layout->WorkspaceRelativizeRcFilePath(
workspace, &words[1]))) {
blaze_util::StringPrintf(error,
"Invalid import declaration in .blazerc file '%s': '%s'",
"Invalid import declaration in .blazerc file '%s': '%s'"
" (are you in your source checkout/WORKSPACE?)",
filename.c_str(), lines[line].c_str());
return blaze_exit_code::BAD_ARGV;
}
Expand Down

0 comments on commit ee5797a

Please sign in to comment.