Skip to content

Commit

Permalink
fix: fix variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
ohoareau committed Sep 6, 2024
1 parent 090731f commit c357e44
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/generators/v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ export default async (
_: enriched_layer_config,
) => {
const defaultVars = {
region: '',
region_code: '',
current_region: '',
current_region_code: '',
is_default_outputs: false,
is_outputs_file: false,
is_default_region: false,
Expand Down Expand Up @@ -83,8 +83,8 @@ export default async (
s,
{
...vars,
region: r?.id || rCode,
region_code: rCode,
current_region: r?.id || rCode,
current_region_code: rCode,
is_default_outputs: isDefault,
is_outputs_file: true,
is_default_region: isDefault,
Expand All @@ -108,8 +108,8 @@ export default async (
s,
{
...vars,
region: r?.id || rCode,
region_code: rCode,
current_region: r?.id || rCode,
current_region_code: rCode,
is_main: isMain,
is_default_main: isMain,
is_main_file: true,
Expand All @@ -134,8 +134,8 @@ export default async (
s,
{
...vars,
region: r?.id || rCode,
region_code: rCode,
current_region: r?.id || rCode,
current_region_code: rCode,
is_sub: isSub,
is_default_sub: isSub,
is_sub_file: true,
Expand Down

0 comments on commit c357e44

Please sign in to comment.