From aaaf7f4cab03c02844b586c0c8a104e8a3de600e Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Thu, 27 Jul 2023 01:48:54 +0200 Subject: [PATCH] Refactoring: fix imports of script --- scripts/generateImageAnalysis.ts | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/scripts/generateImageAnalysis.ts b/scripts/generateImageAnalysis.ts index 7f4cf6bf8..d46671f9a 100644 --- a/scripts/generateImageAnalysis.ts +++ b/scripts/generateImageAnalysis.ts @@ -1,16 +1,15 @@ import Script from "./Script" -import { Overpass } from "../Logic/Osm/Overpass" -import { RegexTag } from "../Logic/Tags/RegexTag" -import { ImmutableStore } from "../Logic/UIEventSource" -import { BBox } from "../Logic/BBox" +import { Overpass } from "../src/Logic/Osm/Overpass" +import { RegexTag } from "../src/Logic/Tags/RegexTag" +import { ImmutableStore } from "../src/Logic/UIEventSource" +import { BBox } from "../src/Logic/BBox" import * as fs from "fs" import { Feature } from "geojson" import ScriptUtils from "./ScriptUtils" -import { Imgur } from "../Logic/ImageProviders/Imgur" -import { LicenseInfo } from "../Logic/ImageProviders/LicenseInfo" -import { Utils } from "../Utils" -import Constants from "../Models/Constants" -import { concat } from "svelte-preprocess/dist/modules/utils" +import { Imgur } from "../src/Logic/ImageProviders/Imgur" +import { LicenseInfo } from "../src/Logic/ImageProviders/LicenseInfo" +import { Utils } from "../src/Utils" +import Constants from "../src/Models/Constants" export default class GenerateImageAnalysis extends Script { constructor() {