Skip to content

Commit dfc15ae

Browse files
matejchalkBioPhoton
andcommitted
feat(models): export default persist.skipReports value
Co-authored-by: Michael Hladky <10064416+BioPhoton@users.noreply.github.com>
1 parent a6a485e commit dfc15ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/models/src/lib/implementation/constants.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ import type { Format, PersistConfig } from '../persist-config.js';
33
export const DEFAULT_PERSIST_OUTPUT_DIR = '.code-pushup';
44
export const DEFAULT_PERSIST_FILENAME = 'report';
55
export const DEFAULT_PERSIST_FORMAT: Format[] = ['json', 'md'];
6+
export const DEFAULT_PERSIST_SKIP_REPORT = false;
67

78
export const DEFAULT_PERSIST_CONFIG: Required<PersistConfig> = {
89
outputDir: DEFAULT_PERSIST_OUTPUT_DIR,
910
filename: DEFAULT_PERSIST_FILENAME,
1011
format: DEFAULT_PERSIST_FORMAT,
11-
skipReports: false,
12+
skipReports: DEFAULT_PERSIST_SKIP_REPORT,
1213
};

0 commit comments

Comments
 (0)