Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ardatan committed Aug 19, 2021
1 parent e5a8f7c commit 251197c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 0 additions & 2 deletions packages/cli/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
src/commands/serve/playground-content.js

4 changes: 4 additions & 0 deletions packages/cli/src/commands/serve/playground-content.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/cli/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { cwd, env } from 'process';
export function validateConfig(config: any): asserts config is YamlConfig.Config {
const ajv = new Ajv({
strict: false,
});
} as any);
jsonSchema.$schema = undefined;
const isValid = ajv.validate(jsonSchema, config);
if (!isValid) {
Expand Down

0 comments on commit 251197c

Please sign in to comment.