Skip to content

Commit 5020dc5

Browse files
authored
Remove conditional when creating a new dir (#1253)
1 parent 18fb768 commit 5020dc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wallets/metamask/src/prepareExtension.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export async function prepareExtension(forceCache = true) {
1010
if (forceCache) {
1111
outputDir = ensureCacheDirExists()
1212
} else {
13-
outputDir = process.platform === 'win32' ? `file:\\\\\\${outputDir}` : path.resolve('./', 'downloads')
13+
outputDir = path.resolve('./', 'downloads')
1414

1515
if (!(await fs.exists(outputDir))) {
1616
fs.mkdirSync(outputDir)

0 commit comments

Comments
 (0)