Skip to content

Commit

Permalink
address-space-base: don't use chalk module - fix issue#1285
Browse files Browse the repository at this point in the history
  • Loading branch information
erossignon committed Jul 30, 2023
1 parent c15331d commit e0d5581
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions packages/node-opcua-address-space-base/source/clone_helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ import { checkDebugFlag, make_debugLog, make_errorLog, make_warningLog } from "n
import { BrowseDirection, NodeClass, QualifiedName } from "node-opcua-data-model";
import { makeNodeId, sameNodeId } from "node-opcua-nodeid";
import { ReferenceTypeIds } from "node-opcua-constants";

import chalk from "chalk";

import { UAObject } from "./ua_object";
import { UAVariable } from "./ua_variable";
import { UAMethod } from "./ua_method";
Expand Down Expand Up @@ -203,7 +200,7 @@ export class CloneHelper {
// istanbul ignore next
doTrace &&
traceLog(
chalk.yellow("push context: "),
"push context: ",
"original parent = ",
fullPath2(originalParent),
"cloned parent =",
Expand Down Expand Up @@ -241,7 +238,7 @@ export class CloneHelper {
// istanbul ignore next
doTrace &&
traceLog(
chalk.yellow("registerClonedObject"),
"registerClonedObject",
"originalNode = ",
fullPath2(originalNode),
"clonedNode =",
Expand Down Expand Up @@ -383,7 +380,7 @@ export function reconstructNonHierarchicalReferences(extraInfo: CloneHelper): vo
// this could be node organized by some FunctionalGroup

// istanbul ignore next
doTrace && traceLog(chalk.yellow("reconstructNonHierarchicalReferences"));
doTrace && traceLog("reconstructNonHierarchicalReferences");

for (const { original, cloned } of cloneInfoArray) {
apply(original, cloned);
Expand Down

0 comments on commit e0d5581

Please sign in to comment.