UNPKG

nx

Version:

The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.

14 lines (13 loc) 408 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.formatCatalogError = formatCatalogError; function formatCatalogError(error, suggestions) { let message = error; if (suggestions.length > 0) { message += '\n\nSuggestions:'; suggestions.forEach((suggestion) => { message += `\n • ${suggestion}`; }); } return message; }