tasks/download.js
function (onComplete) {
            grunt.file.delete(options.tempDir, { force: true });

            fs.exists(options.downloadDestination, function (exists) {
                if (exists) {
                    fs.unlinkSync(options.downloadDestination);
                }

                if (onComplete) {
                    onComplete();
                }
            });
        }
function (onComplete) {
            grunt.file.delete(options.tempDir, { force: true });

            fs.exists(options.downloadDestination, function (exists) {
                if (exists) {
                    fs.unlinkSync(options.downloadDestination);
                }

                if (onComplete) {
                    onComplete();
                }
            });
        }
function ( onComplete ) { grunt . file . delete ( options . tempDir , { force : true } ) ; fs . exists ( options . downloadDestination , function ( exists ) { if ( exists ) { fs . unlinkSync ( options . downloadDestination ) ; } if ( onComplete ) { onComplete ( ) ; } } ) ; }
Deletes the downloaded zip & temporary directory.
Deletes the downloaded zip & temporary directory .