this promise usage should likely be as.
```js
resolve(confirmOverwrite(info.outputPath).then(function(result) {
  if(result) {
    info.action = "overwrite";
  } else {
    info.action = "skip";
  }
  return info; 
}));
```