upgrade eslint and associated fixes
don't keep ie() by the way
This commit is contained in:
@@ -168,6 +168,7 @@ export class ExplorerButton extends HTMLElement {
|
||||
)).join('');
|
||||
await this.updateLib(lib[0]);
|
||||
} catch (error) {
|
||||
// eslint-disable-next-line no-console
|
||||
console.error(error);
|
||||
}
|
||||
break;
|
||||
@@ -307,6 +308,7 @@ export class ExplorerButton extends HTMLElement {
|
||||
return `<se-button data-shape="${key}"src="data:image/svg+xml;base64,${encoded}"></se-button>`;
|
||||
}).join('');
|
||||
} catch (error) {
|
||||
// eslint-disable-next-line no-console
|
||||
console.error(`could not read file:${libDir}${lib}.json`, error);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user