1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-01-31 02:01:13 +00:00

#1109: Fix a typo on a comment

on -> one
This commit is contained in:
M. H. Kwon 2021-07-06 23:58:44 +09:00 committed by GitHub
parent 6111523034
commit 13fda64d6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -186,7 +186,7 @@ def is_app(command, *app_names, **kwargs):
def for_app(*app_names, **kwargs):
"""Specifies that matching script is for on of app names."""
"""Specifies that matching script is for one of app names."""
def _for_app(fn, command):
if is_app(command, *app_names, **kwargs):
return fn(command)