message: Fixed linting errors and some UI improvements
diff: @@ -2,10 +2,11 @@ const fs = require('fs');
  const archiver = require('archiver');
  import crypto = require('crypto');
  -var appRoot = require('app-root-path');
  +const appRoot = require('app-root-path');
  import {
  - Body, Post, JsonController, NotFoundError, UseBefore} from 'routing-controllers';
  + Body, Post, JsonController, NotFoundError, UseBefore
  +} from 'routing-controllers';
  import passportJwtMiddleware from '../security/passportJwtMiddleware';
  import {CodeKataUnit} from '../models/units/CodeKataUnit';
  @@ -37,6 +38,10 @@ export class DownloadController {
  zlib: {level: 9} // Sets the compression level.
  });
  + archive.on( 'error', function(err: Error ) {
  + throw err;
  + });
  +
  archive.pipe(output);
  for (const unit of data.units) {
  @@ -79,7 +84,6 @@ export class DownloadController {
  archive.finalize();
  -
  return 'api/temp/' + fileName + '.zip';
  }
  