Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix(cli): read environment variable (#3883)

Alex Yang58184679ca99
diff --git a/packages/cli/src/bin/dev-core.ts b/packages/cli/src/bin/dev-core.ts
index 5ee83dd07b..03d8e67913 100644
--- a/packages/cli/src/bin/dev-core.ts
+++ b/packages/cli/src/bin/dev-core.ts
@@ -15,7 +15,7 @@ const flags: BuildFlags = {
distribution: 'browser',
mode: 'development',
channel: 'canary',
- coverage: false,
+ coverage: process.env.COVERAGE === 'true',
localBlockSuite: undefined,
};