Skip to content

Commit 21c36d0

Browse files
committed
docs: add a TODO to support multi-line shell scripts
Signed-off-by: behnazh-w <[email protected]>
1 parent 30c743b commit 21c36d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/macaron/slsa_analyzer/ci_service/jenkins.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def build_call_graph(self, repo_path: str, macaron_path: str = "") -> CallGraph:
8888
call_graph = CallGraph(root, repo_path)
8989

9090
# To match lines that start with sh '' or sh ''' ''' (either single or triple quotes)
91-
# we need to account for both the single-line and multi-line cases.
91+
# TODO: we need to support multi-line cases.
9292
pattern = r"^\s*sh\s+'{1,3}(.*?)'{1,3}$"
9393
workflow_files = self.get_workflows(repo_path)
9494

0 commit comments

Comments
 (0)