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

electrode-io / electrode-native / 7427

01 Aug 2025 08:28PM UTC coverage: 60.013% (-0.4%) from 60.402%
7427

push

Azure Pipelines

web-flow
Merge pull request #1915 from r0h0gg6/container-android-publishing-fix

Declare variants for publishing for AGP 8

3818 of 7723 branches covered (49.44%)

Branch coverage included in aggregate %.

9937 of 15197 relevant lines covered (65.39%)

547.62 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';
24✔
2
import path from 'path';
24✔
3
import config from './config';
24✔
4
import { CodePushInitConfig } from './CodePushSdk';
5

6
export function getCodePushInitConfig(): CodePushInitConfig {
24✔
7
  const codePushConfigFilePath = path.join(
×
8
    process.env.LOCALAPPDATA || process.env.HOME || '',
×
9
    '.code-push.config',
10
  );
11
  let codePushInitConfig: CodePushInitConfig;
12
  if (fs.existsSync(codePushConfigFilePath)) {
×
13
    codePushInitConfig = JSON.parse(
×
14
      fs.readFileSync(codePushConfigFilePath, 'utf-8'),
15
    );
16
  } else {
17
    codePushInitConfig = {
×
18
      accessKey: config.get('codePushAccessKey'),
19
      customHeaders: config.get('codePushCustomHeaders'),
20
      customServerUrl: config.get('codePushCustomServerUrl'),
21
      proxy: config.get('codePushProxy'),
22
    };
23
  }
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