From 77142e5c00fb4f5d39646bc57ff1ce1800fd6191 Mon Sep 17 00:00:00 2001 From: Flavien David Date: Wed, 28 Feb 2024 09:41:53 +0100 Subject: [PATCH] Move makeScript helper --- front/admin/tools/message_classification_cli.ts | 2 +- front/migrations/20240119_migrate_pre_code_github_assistants.ts | 2 +- front/{migrations => scripts}/helpers.ts | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename front/{migrations => scripts}/helpers.ts (100%) diff --git a/front/admin/tools/message_classification_cli.ts b/front/admin/tools/message_classification_cli.ts index 975d0ae92961..fb2ff2232b63 100644 --- a/front/admin/tools/message_classification_cli.ts +++ b/front/admin/tools/message_classification_cli.ts @@ -1,5 +1,5 @@ import { classifyWorkspace } from "@app/admin/tools/message_classification"; -import { makeScript } from "@app/migrations/helpers"; +import { makeScript } from "@app/scripts/helpers"; makeScript( { diff --git a/front/migrations/20240119_migrate_pre_code_github_assistants.ts b/front/migrations/20240119_migrate_pre_code_github_assistants.ts index 7029ecd9523a..1e3f2137f586 100644 --- a/front/migrations/20240119_migrate_pre_code_github_assistants.ts +++ b/front/migrations/20240119_migrate_pre_code_github_assistants.ts @@ -10,7 +10,7 @@ import { DataSource, } from "@app/lib/models"; import logger from "@app/logger/logger"; -import { makeScript } from "@app/migrations/helpers"; +import { makeScript } from "@app/scripts/helpers"; makeScript( { diff --git a/front/migrations/helpers.ts b/front/scripts/helpers.ts similarity index 100% rename from front/migrations/helpers.ts rename to front/scripts/helpers.ts