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

Ensure that path is not deleted at compile time.

parent c407d52a
No related branches found
No related tags found
No related merge requests found
...@@ -61,13 +61,13 @@ ...@@ -61,13 +61,13 @@
): string | undefined { ): string | undefined {
// eslint-disable-next-line @typescript-eslint/no-unused-vars // eslint-disable-next-line @typescript-eslint/no-unused-vars
const path = parameter.file_path.replace(/^\/+/, "") const path = parameter.file_path.replace(/^\/+/, "")
console.log(path)
return eval("`" + rawUrlTemplate + "`") return eval("`" + rawUrlTemplate + "`")
} }
</script> </script>
<script lang="ts"> <script lang="ts">
import type { AnyParameter } from "@openfisca/ast" import type { AnyParameter } from "@openfisca/ast"
import { setContext } from "svelte"
import { session } from "$app/stores" import { session } from "$app/stores"
import ParameterEdit from "$lib/components/parameters/ParameterEdit.svelte" import ParameterEdit from "$lib/components/parameters/ParameterEdit.svelte"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment