Skip to content

Commit

Permalink
Fix kart lfs command
Browse files Browse the repository at this point in the history
  • Loading branch information
olsen232 committed Sep 5, 2022
1 parent 266dade commit 6da7cc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kart/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ def lfs(ctx, args):

repo = ctx.obj.get_repo(allowed_states=KartRepoState.ALL_STATES)
kwargs = {"cwd": repo.workdir_path} if repo else {}
p = subprocess.run(["git-lfs", *args], **kwargs, env=tool_environment)
p = subprocess.run(["git-lfs", *args], **kwargs, env=tool_environment())
sys.exit(p.returncode)


Expand Down
3 changes: 1 addition & 2 deletions kart/json_diff_writers.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,7 @@ def _calculate_and_feature_count_estimate(self):
)

def write_ds_diff(self, ds_path, ds_diff):
dataset = self.base_rs.datasets().get(ds_path)
dataset = dataset or self.target_rs.datasets().get(ds_path)
dataset = self._get_old_or_new_dataset(ds_path)
schema_json_delta = ds_diff.recursive_get(["meta", "schema.json"])

# The diffs generated by our datasets aren't explicit about datasets being added and removed.
Expand Down

0 comments on commit 6da7cc7

Please sign in to comment.