fix the linting errors (#1451)
This commit is contained in:
parent
d94dab55d5
commit
512174ee93
|
@ -227,7 +227,7 @@ export class BackgroundResourcesLoader {
|
|||
|
||||
const options = {};
|
||||
const headers = xhr.getAllResponseHeaders();
|
||||
const contentType = headers.match(/^Content-Type\:\s*(.*?)$/im);
|
||||
const contentType = headers.match(/^Content-Type:\s*(.*?)$/im);
|
||||
if (contentType && contentType[1]) {
|
||||
options.type = contentType[1].split(";")[0];
|
||||
}
|
||||
|
|
|
@ -235,6 +235,7 @@ export class MapView extends BaseMap {
|
|||
let key = "regular";
|
||||
|
||||
// Disabled rn because it can be really annoying
|
||||
// eslint-disable-next-line no-constant-condition
|
||||
if (this.root.hud.parts.buildingPlacer.currentMetaBuilding.get() && false) {
|
||||
key = "placing";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue