diff --git a/packages/cli/src/setup.ts b/packages/cli/src/setup.ts index f8532e68e..c4764e2bf 100644 --- a/packages/cli/src/setup.ts +++ b/packages/cli/src/setup.ts @@ -16,6 +16,11 @@ export const getConfig = (fileName: string): any => { } const config = yaml.parse(fs.readFileSync(fileName).toString()) + + if (config?.version != 1) { + console.log('Unsupported configuration file version:', config.version) + process.exit(1) + } return config }