From 986ad37597b0dc2be02cbbc5bfd8ee43dd856d16 Mon Sep 17 00:00:00 2001 From: bcheidemann Date: Sun, 21 Feb 2021 00:21:20 +0000 Subject: [PATCH] refactor: get reference to error in catch block fixes red squigle for unexpected { --- shims/fs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shims/fs.js b/shims/fs.js index a9efa56..d60986f 100644 --- a/shims/fs.js +++ b/shims/fs.js @@ -4,7 +4,7 @@ let Provider; try { Provider = require('fsProvider'); } -catch { +catch (err) { Provider = require('./providers/default'); }