Skip to content

Commit

Permalink
Remove conditional when creating a new dir
Browse files Browse the repository at this point in the history
  • Loading branch information
glitch-txs authored Jan 13, 2025
1 parent b37d84b commit 5dccf2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wallets/metamask/src/prepareExtension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export async function prepareExtension(forceCache = true) {
if (forceCache) {
outputDir = ensureCacheDirExists()
} else {
outputDir = process.platform === 'win32' ? `file:\\\\\\${outputDir}` : path.resolve('./', 'downloads')
outputDir = path.resolve('./', 'downloads')

if (!(await fs.exists(outputDir))) {
fs.mkdirSync(outputDir)
Expand Down

0 comments on commit 5dccf2c

Please sign in to comment.