Skip to content

Commit

Permalink
gn: Fix typo in error message (for label pattern wildcards).
Browse files Browse the repository at this point in the history
R=brettw@chromium.org

Review URL: https://codereview.chromium.org/670833003

Cr-Commit-Position: refs/heads/master@{#300640}
  • Loading branch information
viettrungluu-cr authored and Commit bot committed Oct 22, 2014
1 parent b4adc13 commit 1691b7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/gn/label_pattern.cc
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ LabelPattern LabelPattern::GetPattern(const SourceDir& current_dir,
// The non-wildcard stuff better not have a wildcard.
if (path.find('*') != base::StringPiece::npos) {
*err = Err(value, "Label patterns only support wildcard suffixes.",
"The pattern contained a '*' that wasn't at tne end.");
"The pattern contained a '*' that wasn't at the end.");
return LabelPattern();
}

Expand Down

0 comments on commit 1691b7e

Please sign in to comment.