refactor: get reference to error in catch block

fixes red squigle for unexpected {
This commit is contained in:
bcheidemann 2021-02-21 00:21:20 +00:00
parent 9c669564b2
commit 986ad37597
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ let Provider;
try {
Provider = require('fsProvider');
}
catch {
catch (err) {
Provider = require('./providers/default');
}