Skip to content
Snippets Groups Projects
Commit 150ca054 authored by Dmitry Rodionov's avatar Dmitry Rodionov Committed by Georgy Moshkin
Browse files

chore: use shlex in apply patches script to please gamayun

parent c32a19e2
No related branches found
No related tags found
1 merge request!1113chore: use shlex in apply patches script to please gamayun
Pipeline #48508 failed
......@@ -5,6 +5,7 @@ from contextlib import contextmanager
import glob
import os
from pathlib import Path
import shlex
import subprocess # nosec
import sys
......@@ -102,8 +103,7 @@ def apply_patches():
def restore():
subprocess.check_call(
"git submodule foreach --recursive git restore .",
shell=True,
shlex.split("git submodule foreach --recursive git restore .")
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment