function exec(args: string): Promise<void> {
  return new Promise((resolve, reject) => {
    child_process.exec(args, (err, stdout, stderr) => {
      if (err) {
        reject(new Error(stderr));
      } else {
        resolve();
      }
    });
  });
}
function exec(args: string): Promise<void> {
  return new Promise((resolve, reject) => {
    child_process.exec(args, (err, stdout, stderr) => {
      if (err) {
        reject(new Error(stderr));
      } else {
        resolve();
      }
    });
  });
}
function exec ( args : string ) : Promise < void > { return new Promise ( ( resolve , reject ) => { child_process . exec ( args , ( err , stdout , stderr ) => { if ( err ) { reject ( new Error ( stderr ) ) ; } else { resolve ( ) ; } } ) ; } ) ; }
eslint-disable-line camelcase
eslint - disable - line camelcase