PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/metro-resolver/src/errors

Просмотр файла: formatFileCandidates.js

"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true,
});
exports.default = formatFileCandidates;
function formatFileCandidates(candidates) {
  if (candidates.type === "asset") {
    return candidates.name;
  }
  let formatted = candidates.filePathPrefix;
  if (candidates.candidateExts.length) {
    formatted += "(" + candidates.candidateExts.filter(Boolean).join("|") + ")";
  }
  return formatted;
}

Выполнить команду


Для локальной разработки. Не используйте в интернете!