This commit is contained in:
Pokey Rule 2021-12-17 14:16:01 +00:00
parent 313c1de6e5
commit 80a9ca1d43
2 changed files with 5 additions and 4 deletions

View File

@ -66,8 +66,10 @@ export default class CommandRunner {
action.getTargetPreferences(...extraArgs)
);
this.graph.debug.log("Full targets:");
this.graph.debug.log(JSON.stringify(targets, null, 3));
if (this.graph.debug.active) {
this.graph.debug.log("Full targets:");
this.graph.debug.log(JSON.stringify(targets, null, 3));
}
const processedTargetsContext: ProcessedTargetsContext = {
currentSelections:

View File

@ -125,8 +125,7 @@ function inferPrimitiveTarget(
const insideOutsideType =
target.insideOutsideType ??
getPreviousAttribute(previousTargetsForAttributes, "insideOutsideType") ??
(doAttributeInference ? actionPreferences.insideOutsideType : null) ??
"inside";
actionPreferences.insideOutsideType;
const modifier = target.modifier ??
getPreviousAttribute(previousTargetsForAttributes, "modifier") ??