Skip to content

Commit

Permalink
fix(tools): use vfs.Stat instead of os.Stat in kzip tool (#5566)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaysachs committed Apr 3, 2023
1 parent e199abd commit e27ce6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kythe/go/platform/tools/kzip/infocmd/infocmd.go
Expand Up @@ -74,7 +74,7 @@ func (c *infoCommand) Execute(ctx context.Context, fs *flag.FlagSet, _ ...interf
return c.Fail("Invalid --write_format. Can be 'json' or 'proto'.")
}

s, err := os.Stat(c.input)
s, err := vfs.Stat(ctx, c.input)
if err != nil {
return c.Fail("Couldn't stat kzip file: %v", err)
}
Expand Down

0 comments on commit e27ce6b

Please sign in to comment.