Plato on Github
Report Home
scripts/tmp-clean.js
Maintainability
84.15
Lines of code
22
Difficulty
6.83
Estimated Errors
0.13
Function weight
By Complexity
By SLOC
'use strict'; var packagePath = __dirname + '/../../package.json'; var gulp = require('gulp'); var path = require('path'); var del = require('del'); var $ = require('gulp-load-plugins')({config: path.normalize(packagePath)}); var config = { name: 'scripts:tmp-clean', callback: callback, }; module.exports = config; ///////////////////////////// function callback(settings, done) { del.bind(null, [settings.paths.tmp]); done(); }