Skip to content

Commit

Permalink
Update error hint from gh gitignores to gh gitignore-templates (#97)
Browse files Browse the repository at this point in the history
Thank you!
  • Loading branch information
zYeoman authored and donnemartin committed Nov 19, 2016
1 parent d46dc46 commit 1d9b6b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gitsome/github.py
Expand Up @@ -391,7 +391,7 @@ def gitignore_template(self, language):
else:
click.secho(('Invalid case-sensitive template requested, run the '
'following command to see available templates:\n'
' gh gitignores'),
' gh gitignore-templates'),
fg=self.config.clr_error)

@authenticate
Expand Down
2 changes: 1 addition & 1 deletion tests/test_github.py
Expand Up @@ -164,7 +164,7 @@ def test_gitignore_template_invalid(self, mock_click_secho):
mock_click_secho.assert_called_with(
('Invalid case-sensitive template requested, run the '
'following command to see available templates:\n'
' gh gitignores'),
' gh gitignore-templates'),
fg=self.github.config.clr_error)

@mock.patch('gitsome.github.click.secho')
Expand Down

0 comments on commit 1d9b6b3

Please sign in to comment.