mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-08-03 01:25:08 +02:00
Resolves #608 -- enforce word boundary
This commit is contained in:
parent
2784f9b7f3
commit
fa5638f3b8
1 changed files with 2 additions and 2 deletions
|
@ -15,12 +15,12 @@ var Warning = Errors.Warning;
|
|||
var CommandResult = Errors.CommandResult;
|
||||
|
||||
var instantCommands = [
|
||||
[/^ls/, function() {
|
||||
[/^ls\b/, function() {
|
||||
throw new CommandResult({
|
||||
msg: intl.str('ls-command')
|
||||
});
|
||||
}],
|
||||
[/^cd/, function() {
|
||||
[/^cd\b/, function() {
|
||||
throw new CommandResult({
|
||||
msg: intl.str('cd-command')
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue