Skip to content

Commit

Permalink
single replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
mfridman committed Mar 22, 2024
1 parent 20d87ba commit e233f8d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func Handle(
continue
}
basename := tablename + "." + bigquery.FileExtension
dirPath := filepath.FromSlash(strings.ReplaceAll(string(fileDescriptor.Package()), ".", "/"))
dirPath := strings.ReplaceAll(string(fileDescriptor.Package()), ".", string(filepath.Separator))
responseWriter.AddFile(
filepath.Join(dirPath, basename),
string(data),
Expand Down

0 comments on commit e233f8d

Please sign in to comment.