Fix linter

This commit is contained in:
Daniel A. Wozniak 2019-04-28 23:11:11 +00:00 committed by Pedro Algarvio
parent 759bccc202
commit 4d6b8da5a0
No known key found for this signature in database
GPG key ID: BB36BF6584A298FF

View file

@ -43,7 +43,7 @@ class DocTestCase(TestCase):
if salt.utils.platform.is_windows():
if salt.utils.path.which('bash'):
# Use grep from git-bash when it exists.
cmd = 'bash -c \'grep -r :doc: ./salt/'.format(salt_dir)
cmd = 'bash -c \'grep -r :doc: ./salt/'
grep_call = salt.modules.cmdmod.run_stdout(cmd=cmd, cwd=salt_dir).split(os.linesep)
else:
# No grep in Windows, use findstr