lib/agent/providers/webcam/linux/index.js
Function get_picture
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
exports.get_picture = function(main_callback){
var picture_file = temp_path('picture.' + process.pid + '.jpg'),
tmp_path = '/tmp',
size = '640x480',