Skip to content

Commit

Permalink
Merge pull request #1956 from Hyperkid123/require-fec-for-static
Browse files Browse the repository at this point in the history
Validate FEC config for fec static command.
  • Loading branch information
fhlavac authored Jan 10, 2024
2 parents 12d152e + 58f0d08 commit 613d190
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 613d190

Please sign in to comment.