Skip to content

Commit

Permalink
fix: write config with orbiter
Browse files Browse the repository at this point in the history
  • Loading branch information
peterpeterparker committed Feb 15, 2024
1 parent 1f98fe5 commit d9d49c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/configs/juno.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type {JunoConfig, JunoConfigFnOrObject, SatelliteConfig} from '@junobuild/config';

Check failure on line 1 in src/configs/juno.config.ts

View workflow job for this annotation

GitHub Actions / build

Cannot find module '@junobuild/config' or its corresponding type declarations.
import {isNullish} from '@junobuild/utils';
import {nonNullish} from '@junobuild/utils';
import {existsSync} from 'node:fs';
import {access, readFile, writeFile} from 'node:fs/promises';
import {join} from 'node:path';
Expand Down Expand Up @@ -114,7 +114,7 @@ const writeJunoConfig = async ({
} = config;

const template = await readTemplateFile({
template: isNullish(orbiter)
template: nonNullish(orbiter)
? `${JUNO_CONFIG_FILENAME}.${configType}`
: `${TEMPLATE_SATELLITE_CONFIG_FILENAME}.${configType}`,
sourceFolder: TEMPLATE_INIT_PATH
Expand Down

0 comments on commit d9d49c8

Please sign in to comment.