• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

electrode-io / electrode-native / 7608

29 Apr 2026 07:06PM UTC coverage: 67.788% (-0.05%) from 67.836%
7608

push

Azure Pipelines

web-flow
Merge pull request #1925 from electrode-io/npm-packages-security-audit-fixes

Fixed critical CVE for npm packages

4523 of 7766 branches covered (58.24%)

Branch coverage included in aggregate %.

9 of 10 new or added lines in 5 files covered. (90.0%)

8 existing lines in 3 files now uncovered.

11077 of 15247 relevant lines covered (72.65%)

666.6 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

28.57
/ern-core/src/getCodePushInitConfig.ts
1
import fs from 'fs';
98✔
2
import path from 'path';
98✔
3
import config from './config';
98✔
4
import { CodePushInitConfig } from './CodePushSdk';
5

6
export function getCodePushInitConfig(): CodePushInitConfig {
98✔
UNCOV
7
  const codePushConfigFilePath = path.join(
×
8
    process.env.LOCALAPPDATA || process.env.HOME || '',
×
9
    '.code-push.config',
10
  );
11
  let codePushInitConfig: CodePushInitConfig;
UNCOV
12
  if (fs.existsSync(codePushConfigFilePath)) {
×
13
    codePushInitConfig = JSON.parse(
×
14
      fs.readFileSync(codePushConfigFilePath, 'utf-8'),
15
    );
16
  } else {
UNCOV
17
    codePushInitConfig = {
×
18
      accessKey: config.get('codePushAccessKey'),
19
      customHeaders: config.get('codePushCustomHeaders'),
20
      customServerUrl: config.get('codePushCustomServerUrl'),
21
      proxy: config.get('codePushProxy'),
22
    };
23
  }
UNCOV
24
  return codePushInitConfig;
×
25
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc