code: function (dest) {
          if (grunt.util._.endsWith(dest, '/') || grunt.util._.endsWith(dest, '\\')) {
              return 'directory';
          } else {
              return 'file';
          }
      }
docs: Get type of destination path
  @param {string} dest
  @returns {string} directory|file