Skip to content
Snippets Groups Projects
Commit fffd36f0 authored by sandcha's avatar sandcha
Browse files

Remove openfiscaDir path from config file

parent a7245465
Branches
No related tags found
1 merge request!1Appelle openfisca-france-json depuis node
Pipeline #1532 skipped
......@@ -41,17 +41,15 @@ export function auditConfig(
)
}
audit.attribute(data, "budget", true, errors, remainingKeys, auditBudget)
for (const key of ["openfiscaDir", "title"]) {
audit.attribute(
data,
key,
"title",
true,
errors,
remainingKeys,
auditTrimString,
auditRequire,
)
}
audit.attribute(
data,
"githubPersonalAccessToken",
......
......@@ -19,7 +19,6 @@ export interface Config {
jwtSecret: string
profileUrl: string
}
openfiscaDir: string
openfiscaRepository: {
branch: string
group: string
......@@ -62,7 +61,6 @@ const [validConfig, error] = validateConfig({
profileUrl: process.env["OAUTH2_PROFILE_URL"],
}
: null,
openfiscaDir: "src/lib/openfisca",
openfiscaRepository: {
branch: process.env["OPENFISCA_BRANCH"],
group: process.env["OPENFISCA_GROUP"],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment