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

box / boxcli / 3688883245

pending completion
3688883245

Pull #441

github

GitHub
Merge 0c6f2cfe0 into 83ac6d7c8
Pull Request #441: fix: single file upload on Node 16

1077 of 1387 branches covered (77.65%)

Branch coverage included in aggregate %.

35 of 54 new or added lines in 9 files covered. (64.81%)

1 existing line in 1 file now uncovered.

3935 of 4421 relevant lines covered (89.01%)

121.05 hits per line

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

70.0
/src/commands/oss.js
1
/* eslint-disable no-sync  */
2
'use strict';
3

4
const BoxCommand = require('../box-command');
3✔
5
const path = require('path');
3✔
6
const utils = require('../util');
3✔
7

8
class OSSLicensesCommand extends BoxCommand {
9
        async run() {
10

11
                let licensesFilePath = path.resolve(__dirname, '../../LICENSE-THIRD-PARTY.txt');
×
12

NEW
13
                let licenseText = await utils.readFile(licensesFilePath, 'utf8');
×
14

15
                await this.output(licenseText);
×
16
        }
17
}
18

19
OSSLicensesCommand.description = 'Print a list of open-source licensed packages used in the Box CLI';
3✔
20

21
OSSLicensesCommand.flags = {
3✔
22
        ...BoxCommand.minFlags,
23
};
24

25
OSSLicensesCommand.args = [];
3✔
26

27
module.exports = OSSLicensesCommand;
3✔
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

© 2025 Coveralls, Inc