Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanLeRoy committed May 21, 2024
1 parent b1bbfe1 commit 31d33b2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/desktop/src/services/FileDownloadServiceElectron.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,12 +188,6 @@ export default class FileDownloadServiceElectron
url,
writeStreamOptions,
} = options;
// let outFilePath = options.outFilePath;
// if (outFilePath === undefined) {
// const defaultDirectory = await this.getDefaultDownloadDirectory();
// outFilePath = path.join(defaultDirectory, path.basename(url));
// }

return new Promise((resolve, reject) => {
// HTTP requests are made when pointed at localhost, HTTPS otherwise. If that ever changes,
// this logic can be safely removed.
Expand Down

0 comments on commit 31d33b2

Please sign in to comment.