code: function resolveSync (iconPath) {
    var path = resolve(iconPath)
    var stat = fs.statSync(path)
  
    if (stat.isDirectory()) {
      throw createIsDirError(path)
    }
  
    return path
  }
docs: Resolve the path to icon.
  
  @param {string} iconPath
  @private