Skip to content

Commit

Permalink
Fix ENOENT error during harvesting Conda components
Browse files Browse the repository at this point in the history
  • Loading branch information
qtomlinson committed May 7, 2024
1 parent 473a560 commit 5b153af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions providers/fetch/condaFetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const FetchResult = require('../../lib/fetchResult')
class CondaFetch extends AbstractFetch {
constructor(options) {
super(options)
this.packageMapFolder = this.options.cdFileLocation
this.packageMapPrefix = this.options.cdFileLocation
this.channels = {
'anaconda-main': 'https://repo.anaconda.com/pkgs/main',
'anaconda-r': 'https://repo.anaconda.com/pkgs/r',
Expand Down Expand Up @@ -210,7 +210,7 @@ class CondaFetch extends AbstractFetch {
`${condaChannelID}-channelDataFile`,
`${condaChannelUrl}/channeldata.json`,
this.CACHE_DURATION,
`${this.packageMapFolder}/${condaChannelID}-channelDataFile.json`
`${this.packageMapPrefix}-${condaChannelID}-channelDataFile.json`
)
}

Expand All @@ -219,7 +219,7 @@ class CondaFetch extends AbstractFetch {
`${condaChannelID}-repoDataFile-${architecture}`,
`${condaChannelUrl}/${architecture}/repodata.json`,
this.CACHE_DURATION,
`${this.packageMapFolder}/${condaChannelID}-repoDataFile-${architecture}.json`
`${this.packageMapPrefix}-${condaChannelID}-repoDataFile-${architecture}.json`
)
}
}
Expand Down

0 comments on commit 5b153af

Please sign in to comment.