@salesforce/core
Advanced tools
Comparing version
@@ -146,3 +146,3 @@ "use strict"; | ||
catch (e) { | ||
if (e instanceof Error && 'code' in e && e.code === 'ENOENT') { | ||
if (e instanceof Error && 'code' in e && typeof e.code === 'string' && ['ENOENT', 'ENOTDIR'].includes(e.code)) { | ||
this.aliasStore = new Map(); | ||
@@ -149,0 +149,0 @@ await (0, promises_1.mkdir)((0, node_path_1.dirname)(this.fileLocation), { recursive: true }); |
{ | ||
"name": "@salesforce/core", | ||
"version": "8.8.4", | ||
"version": "8.8.5", | ||
"description": "Core libraries to interact with SFDX projects, orgs, and APIs.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index", |
1050350
0