Skip to content
Snippets Groups Projects
Commit 94851773 authored by Emmanuel Raviart's avatar Emmanuel Raviart
Browse files

Avoid importing from script

parent 791fffe7
Branches
Tags 0.0.876
No related merge requests found
Pipeline #18044 failed
import "dotenv/config"
import path from "path" import path from "path"
import fs from "fs-extra" import fs from "fs-extra"
import serverConfig from "$lib/server/server_config" const simulationsBudgetDir = process.env.SIMULATIONS_BUDGET_DIR as string
const simulationsTestCasesDir = process.env.SIMULATIONS_TEST_CASES_DIR as string
const { simulationsBudgetDir, simulationsTestCasesDir } = serverConfig
// Remove private budget simulations from index. // Remove private budget simulations from index.
const indexFilePath = path.join(simulationsBudgetDir, "index.json") const indexFilePath = path.join(simulationsBudgetDir, "index.json")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment