Plato on Github
Report Home
ampersand/test.js
Maintainability
81.79
Lines of code
24
Difficulty
9.22
Estimated Errors
0.11
Function weight
By Complexity
By SLOC
var rimraf = require('rimraf'); var generateApp = require('./lib/app/generateApp'); var input = { author: 'Henrik Joreteg <henrik@andyet.net>', title: 'My Awesome App', projectFolder: 'hapi_build' }; rimraf('hapi_build', function () { rimraf('express_build', function () { generateApp(input, function (err) { if (err) throw err; input.framework = 'express'; input.projectFolder = 'express_build'; generateApp(input, function (err) { if (err) throw err; console.log('done'); }); }); }); });