Skip to content

Commit

Permalink
Validate FEC config for fec static command.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyperkid123 committed Jan 10, 2024
1 parent 12d152e commit 58f0d08
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/config/src/bin/fec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const path = require('path');
import yargs from 'yargs';
// to force TS to copy the file
import './tsconfig.template.json';
import { validateFECConfig } from './common';

const devScript = require('./dev-script');
const buildScript = require('./build-script');
Expand Down Expand Up @@ -120,6 +121,7 @@ const argv = yargs

const scripts: { [name: string]: (...args: any[]) => void } = {
static: (argv: any, cwd: string) => {
validateFECConfig(cwd);
serveStatic(argv, cwd);
},
'patch-etc-hosts': patchHosts,
Expand Down

0 comments on commit 58f0d08

Please sign in to comment.