apache / cordova-osx

Compare 1a34cd0 ... +0 ... d24315c

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.


@@ -20,7 +20,6 @@
Loading
20 20
*/
21 21
22 22
var shell = require('shelljs');
23 -
var Q = require('q');
24 23
var path = require('path');
25 24
var fs = require('fs');
26 25
var ROOT = path.join(__dirname, '..', '..');
@@ -153,12 +152,12 @@
Loading
153 152
154 153
    // check that project path doesn't exist
155 154
    if (fs.existsSync(project_path)) {
156 -
        return Q.reject('Project already exists');
155 +
        return Promise.reject('Project already exists');
157 156
    }
158 157
159 158
    // check that parent directory does exist so cp -r will not fail
160 159
    if (!fs.existsSync(project_parent)) {
161 -
        return Q.reject(project_parent + ' does not exist. Please specify an existing parent folder');
160 +
        return Promise.reject(project_parent + ' does not exist. Please specify an existing parent folder');
162 161
    }
163 162
164 163
    // create the project directory and copy over files
@@ -193,7 +192,7 @@
Loading
193 192
    copyScripts(project_path);
194 193
195 194
    events.emit('log', generateDoneMessage('create', use_shared));
196 -
    return Q.resolve();
195 +
    return Promise.resolve();
197 196
};
198 197
199 198
exports.updateProject = function (projectPath, opts, events) {
@@ -203,7 +202,7 @@
Loading
203 202
        copyScripts(projectPath);
204 203
        events.emit('log', generateDoneMessage('update', opts.link));
205 204
    });
206 -
    return Q.resolve();
205 +
    return Promise.resolve();
207 206
};
208 207
209 208
function generateDoneMessage (type, link) {

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.
Files Coverage
bin -0.14% 39.20%
Project Totals (5 files) 39.20%
Loading