function cleanUp(renderedVideo) {
  const files = [
    fs.unlinkAsync(renderedVideo.absoluteOutput),
    fs.unlinkAsync(renderedVideo.absoluteInput)
  ];
  return Promise.all(files).then(function() {
    debug("All files were deleted");
  });
}
/**
 * cleanUp - Remove temporary files after upload
 *
 * @param  {Video} renderedVideo A video object with a path to the renderedVideo
 */
Remove temporary files after upload
@param  {Video} renderedVideo A video object with a path to the renderedVideo
Remove temporary files after upload @param { Video } renderedVideo A video object with a path to the renderedVideo
function cleanUp(renderedVideo) {
  const files = [
    fs.unlinkAsync(renderedVideo.absoluteOutput),
    fs.unlinkAsync(renderedVideo.absoluteInput)
  ];
  return Promise.all(files).then(function() {
    debug("All files were deleted");
  });
}
function cleanUp ( renderedVideo ) { const files = [ fs . unlinkAsync ( renderedVideo . absoluteOutput ) , fs . unlinkAsync ( renderedVideo . absoluteInput ) ] ; return Promise . all ( files ) . then ( function ( ) { debug ( "All files were deleted" ) ; } ) ; }
cleanUp - Remove temporary files after upload
 @param  {Video} renderedVideo A video object with a path to the renderedVideo
cleanUp - Remove temporary files after upload @param { Video } renderedVideo A video object with a path to the renderedVideo