This file is indexed.

/usr/lib/nodejs/grunt-contrib-internal/tasks/contrib-ci.js is in node-grunt-contrib-internal 1.2.2-1.

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
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 * grunt-contrib-internal
 * http://gruntjs.com/
 *
 * Copyright (c) 2016 Tyler Kellen, contributors
 * Licensed under the MIT license.
 */

'use strict';

module.exports = function(grunt) {
  grunt.registerTask('contrib-ci', 'Normalizes AppVeyor and Travis CI configs.', function(skipIfExists) {
    skipIfExists = skipIfExists === 'skipIfExists';

    var path = require('path');
    var travis = grunt.file.read(path.join(__dirname, '..', '.travis.yml'));
    var appveyor = grunt.file.read(path.join(__dirname, '..', 'appveyor.yml'));
    var taskTravis = path.join(process.cwd(), '.travis.yml');
    var taskAppveyor = path.join(process.cwd(), 'appveyor.yml');

    if (!skipIfExists || !grunt.file.exists(taskTravis)) {
      grunt.file.write(taskTravis, travis);
    }
    if (!skipIfExists || !grunt.file.exists(taskAppveyor)) {
      grunt.file.write(taskAppveyor, appveyor);
    }

    grunt.log.ok('Normalized .travis.yml and appveyor.yml for grunt-contrib.');

  });
};