Skip to content

Commit da89b31

Browse files
committed
fix: correct typo
1 parent 4771ecd commit da89b31

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

codesectools/datasets/BenchmarkJava/dataset.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class BenchmarkJava(PrebuiltFileDataset):
5656
license_url (str): A URL to the full text of the license.
5757
build_command (str): The command to build the Java project.
5858
prebuilt_expected (tuple): A tuple defining the path and glob pattern for expected build artifacts.
59-
artefacts_arg (str): The argument to specify the location of build artifacts for SAST tools.
59+
artifacts_arg (str): The argument to specify the location of build artifacts for SAST tools.
6060
6161
"""
6262

@@ -67,7 +67,7 @@ class BenchmarkJava(PrebuiltFileDataset):
6767

6868
build_command = "mvn clean compile"
6969
prebuilt_expected = (Path("target/classes/org/owasp/benchmark/testcode"), "*.class")
70-
artefacts_arg = "."
70+
artifacts_arg = "."
7171

7272
def __init__(self, lang: None | str = None) -> None:
7373
"""Initialize the BenchmarkJava dataset.

codesectools/datasets/JulietTestSuiteC/dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class JulietTestSuiteC(PrebuiltFileDataset):
5656

5757
build_command = f"bear -- make -C ./C individuals -j{CPU_COUNT}"
5858
prebuilt_expected = (Path("."), "compile_commands.json")
59-
artefacts_arg = "compile_commands.json"
59+
artifacts_arg = "compile_commands.json"
6060

6161
def __init__(self, lang: None | str = None) -> None:
6262
"""Initialize the JulietTestSuiteC dataset.

codesectools/datasets/core/dataset.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,13 +164,13 @@ class PrebuiltDatasetMixin:
164164
build_command (str): The command required to build the dataset.
165165
prebuilt_expected (tuple[Path, str]): A tuple containing the path and glob pattern
166166
to find the built artifacts.
167-
artefacts_arg (str): The argument to pass to the SAST tool command template.
167+
artifacts_arg (str): The argument to pass to the SAST tool command template.
168168
169169
"""
170170

171171
build_command: str
172172
prebuilt_expected: tuple[Path, str]
173-
artefacts_arg: str
173+
artifacts_arg: str
174174

175175
def is_built(self) -> bool:
176176
"""Check if the dataset has been built."""

0 commit comments

Comments
 (0)