Skip to content

Commit a08797f

Browse files
committed
rename repair framework
1 parent d251a0f commit a08797f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

glitch/__main__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from glitch.parsers.terraform import TerraformParser
2020
from glitch.parsers.gha import GithubActionsParser
2121
from glitch.exceptions import throw_exception
22-
from glitch.repair.interactive.main import run_dejavu
22+
from glitch.repair.interactive.main import run_infrafix
2323
from pkg_resources import resource_filename
2424
from copy import deepcopy
2525
from concurrent.futures import ThreadPoolExecutor, Future, as_completed
@@ -284,15 +284,15 @@ def lint(
284284
@cli.command()
285285
@__common_params
286286
@click.argument("pid", type=str, required=True)
287-
def dejavu(
287+
def infrafix(
288288
path: str,
289289
pid: str,
290290
tech: str, # type: ignore
291291
type: UnitBlockType,
292292
):
293293
tech: Tech = __get_tech(tech)
294294
parser = __get_parser(tech)
295-
run_dejavu(path, pid, parser, type, tech)
295+
run_infrafix(path, pid, parser, type, tech)
296296

297297

298298
@cli.command()

glitch/repair/interactive/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from glitch.repair.interactive.delta_p import PStatement
2121

2222

23-
def run_dejavu(path: str, pid: str, parser: Parser, type: UnitBlockType, tech: Tech):
23+
def run_infrafix(path: str, pid: str, parser: Parser, type: UnitBlockType, tech: Tech):
2424
inter: UnitBlock | None = parser.parse_file(path, type)
2525
assert inter is not None
2626
NormalizationVisitor(tech).visit(inter)

0 commit comments

Comments
 (0)