Skip to content

Commit aa47ee3

Browse files
authored
Merge pull request #128 from pixlise/bugfix/windowspath
Fixing path joining to work on Windows too
2 parents a188253 + c812669 commit aa47ee3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data-import/dataset-archive/download.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ func (dl *DatasetArchiveDownloader) DownloadPseudoIntensityRangesFile(configBuck
9595
dl.log.Debugf("Downloading pseudo-intensity ranges...")
9696

9797
localRangesPath := filepath.Join(downloadPath, "StandardPseudoIntensities.csv")
98-
err := dl.fetchFile(configBucket, filepath.Join(filepaths.RootDatasetConfig, "StandardPseudoIntensities.csv"), localRangesPath)
98+
err := dl.fetchFile(configBucket, path.Join(filepaths.RootDatasetConfig, "StandardPseudoIntensities.csv"), localRangesPath)
9999
if err != nil {
100100
dl.log.Errorf("%v", err)
101101
return "", err

0 commit comments

Comments
 (0)