diff --git a/src/report/dot/index.mjs b/src/report/dot/index.mjs index a81cf82a6..47a1bc9bc 100644 --- a/src/report/dot/index.mjs +++ b/src/report/dot/index.mjs @@ -25,15 +25,15 @@ const GRANULARITY2REPORTER_OPTIONS = new Map([ ]); function buildGraphAttributes(pGraph) { - return pGraph ? ` ${attributizeObject(pGraph || {})}` : ""; + return pGraph ? ` ${attributizeObject(pGraph)}` : ""; } function buildNodeAttributes(pNode) { - return pNode ? ` node [${attributizeObject(pNode || {})}]` : ""; + return pNode ? ` node [${attributizeObject(pNode)}]` : ""; } function buildEdgeAttributes(pEdge) { - return pEdge ? ` edge [${attributizeObject(pEdge || {})}]` : ""; + return pEdge ? ` edge [${attributizeObject(pEdge)}]` : ""; } function buildGeneralAttributes(pTheme) { diff --git a/src/schema/configuration.schema.json b/src/schema/configuration.schema.json index cab4ed2d6..f7523b59c 100644 --- a/src/schema/configuration.schema.json +++ b/src/schema/configuration.schema.json @@ -603,7 +603,7 @@ "forceDeriveDependents": { "type": "boolean", "deprecated": true, - "description": "Hasn't had any effect on dependency-cruiser's behaviour since a few major versions ago. If there's a need to manipulate this use the `skipAnalysisNotInRules` option in stead.Previously documented behaviour: When true includes de-normalized dependents in the cruise-result, even though there's no rule in the rule set that requires them. Defaults to false." + "description": "Hasn't had any effect on dependency-cruiser's behaviour since a few major versions ago. If there's a need to manipulate this use the `skipAnalysisNotInRules` option in stead. Previously documented behaviour: When true includes de-normalized dependents in the cruise-result, even though there's no rule in the rule set that requires them. Defaults to false." }, "webpackConfig": { "type": "object", diff --git a/src/schema/cruise-result.schema.json b/src/schema/cruise-result.schema.json index 50039e3d1..d0df33896 100644 --- a/src/schema/cruise-result.schema.json +++ b/src/schema/cruise-result.schema.json @@ -1035,7 +1035,7 @@ "forceDeriveDependents": { "type": "boolean", "deprecated": true, - "description": "Hasn't had any effect on dependency-cruiser's behaviour since a few major versions ago. If there's a need to manipulate this use the `skipAnalysisNotInRules` option in stead.Previously documented behaviour: When true includes de-normalized dependents in the cruise-result, even though there's no rule in the rule set that requires them. Defaults to false." + "description": "Hasn't had any effect on dependency-cruiser's behaviour since a few major versions ago. If there's a need to manipulate this use the `skipAnalysisNotInRules` option in stead. Previously documented behaviour: When true includes de-normalized dependents in the cruise-result, even though there's no rule in the rule set that requires them. Defaults to false." }, "webpackConfig": { "type": "object", diff --git a/tools/schema/options.mjs b/tools/schema/options.mjs index a0e54142a..1413a450c 100644 --- a/tools/schema/options.mjs +++ b/tools/schema/options.mjs @@ -223,7 +223,7 @@ export default { description: "Hasn't had any effect on dependency-cruiser's behaviour since a few major " + "versions ago. If there's a need to manipulate this use the `skipAnalysisNotInRules` " + - "option in stead." + + "option in stead. " + "Previously documented behaviour: " + "When true includes de-normalized dependents in the cruise-result, even " + "though there's no rule in the rule set that requires them. Defaults to false.",