mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-08-03 17:44:33 +02:00
Merge pull request #610 from Hongarc/fix/command
fix: get `ls` and `cd` with right way
This commit is contained in:
commit
fde456d369
1 changed files with 2 additions and 2 deletions
|
@ -15,12 +15,12 @@ var Warning = Errors.Warning;
|
|||
var CommandResult = Errors.CommandResult;
|
||||
|
||||
var instantCommands = [
|
||||
[/^ls\b/, function() {
|
||||
[/^ls( |$)/, function() {
|
||||
throw new CommandResult({
|
||||
msg: intl.str('ls-command')
|
||||
});
|
||||
}],
|
||||
[/^cd\b/, function() {
|
||||
[/^cd( |$)/, function() {
|
||||
throw new CommandResult({
|
||||
msg: intl.str('cd-command')
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue