mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix linter
This commit is contained in:
parent
759bccc202
commit
4d6b8da5a0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue