Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: rashidakanchwala <[email protected]>
  • Loading branch information
rashidakanchwala committed Nov 26, 2024
1 parent a9aca8a commit 2b722cf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions package/kedro_viz/launchers/cli/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ def run(
if load_file:
if not Path(load_file).exists():
raise ValueError(f"The provided filepath '{load_file}' does not exist.")
kedro_project_path = None
else:
kedro_project_path = _find_kedro_project(Path.cwd())
if kedro_project_path is None:
Expand Down Expand Up @@ -164,7 +163,7 @@ def run(
"save_file": save_file,
"pipeline_name": pipeline,
"env": env,
"project_path": kedro_project_path,
"project_path": kedro_project_path or None,
"autoreload": autoreload,
"include_hooks": include_hooks,
"package_name": PACKAGE_NAME,
Expand Down

0 comments on commit 2b722cf

Please sign in to comment.