This file is indexed.

/usr/lib/nodejs/coveralls/index.js is in node-coveralls 3.0.0-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
var minimist = require('minimist');

// this needs to go before the other require()s so that
// the other files can already use index.options
exports.options = minimist(process.argv.slice(2), {
  boolean: ['verbose', 'stdout'],
  alias: { 'v': 'verbose', 's': 'stdout' }
});

var dir = './lib/';
exports.convertLcovToCoveralls = require(dir + 'convertLcovToCoveralls');
exports.sendToCoveralls = require(dir + 'sendToCoveralls');
exports.getBaseOptions = require(dir + 'getOptions').getBaseOptions;
exports.getOptions = require(dir + 'getOptions').getOptions;
exports.handleInput = require(dir + 'handleInput');
exports.logger = require(dir + 'logger');