diff --git a/src/lib_new/visitors/did_visitor.ts b/src/lib_new/visitors/did_visitor.ts index 1415c8f9bc..bc6f877167 100644 --- a/src/lib_new/visitors/did_visitor.ts +++ b/src/lib_new/visitors/did_visitor.ts @@ -23,7 +23,7 @@ export const DEFAULT_VISITOR_DATA: VisitorData = { export function DidResultToCandidString(result: VisitorResult): string { const [candid, candidTypeDefs] = result; const candidTypesString = newTypeToCandidString(candidTypeDefs); - return candidTypesString + candid; + return candidTypesString + candid + '\n'; } function newTypeToCandidString(newTypes: CandidTypesDefs): string {