Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
zdila committed Dec 8, 2023
1 parent 612f833 commit ad6eb20
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"printWidth": 120
"printWidth": 120,
"trailingComma": "all"
}
1 change: 0 additions & 1 deletion style/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ import { WaterArea } from "./WaterArea";
import { WaterAreaNames } from "./WaterAreaNames";
import { WaterLine } from "./WaterLine";
import { WaterLineNames } from "./WaterLineNames";
import { GdalLayer } from "./GdalLayer";

const dbParams = config.get("db") as Record<string, string>;
const contoursCfg = config.get("mapFeatures.contours") as boolean;
Expand Down
1 change: 0 additions & 1 deletion style/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ export async function initIcons() {
return Promise.all(
Object.entries(colorMap).map(([color, colorValue]) =>
Promise.all([
// TODO u
fs.writeFile(path.resolve(tmpdir(), `ski-${color}.svg`), String(skiSvg).replaceAll("#ff00ff", colorValue)),
fs.writeFile(path.resolve(tmpdir(), `horse-${color}.svg`), String(horseSvg).replaceAll("#ff00ff", colorValue)),
]),
Expand Down

0 comments on commit ad6eb20

Please sign in to comment.