'use strict';

const arrayToError = require('array-to-error');
const CleanCss = require('clean-css');

module.exports = class CleanCssPromise extends CleanCss {
  minify(source) {
    const minify = super.minify.bind(this);
    return new Promise(function promisify(resolve, reject) {
      minify(source, function minifyCallback(errors, result) {
        if (errors) {
          reject(arrayToError(errors));
          return;
        }

        resolve(result);
      });
    });
  }
};

@@ -183,17 +183,25 @@
   const 
-m
+originalM
 inify = 
@@ -292,17 +292,25 @@
 %7B%0A      
-m
+originalM
 inify(so

rename an internal variable