Skip to content

Commit

Permalink
chore(scripts): add newline for new-client require
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr committed Oct 19, 2023
1 parent 362475b commit 16164cd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion scripts/generateNewClientTests/getGlobalRequireOutput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { getV3ClientsNewExpressionCode } from "./getV3ClientsNewExpressionCode";
import { getV3PackageRequiresCode } from "./getV3PackageRequiresCode";

export const getGlobalRequireOutput = () => {
let content = ``;
let content = `\n\n`;

content += getV3PackageRequiresCode(getClientNamesSortedByPackageName(CLIENTS_TO_TEST));
content += getV3ClientsNewExpressionCode(CLIENTS_TO_TEST);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { getV3ClientsNewExpressionCode } from "./getV3ClientsNewExpressionCode";
import { getV3PackageRequiresCode } from "./getV3PackageRequiresCode";

export const getServiceRequireDeepOutput = () => {
let content = ``;
let content = `\n\n`;

content += getV3PackageRequiresCode(CLIENTS_TO_TEST);
content += getV3ClientsNewExpressionCode(CLIENTS_TO_TEST);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { getV3ClientsNewExpressionCode } from "./getV3ClientsNewExpressionCode";
import { getV3PackageRequiresCode } from "./getV3PackageRequiresCode";

export const getServiceRequireDeepWithNameOutput = () => {
let content = ``;
let content = `\n\n`;

content += getV3PackageRequiresCode(CLIENTS_TO_TEST, { useLocalSuffix: true });
content += getV3ClientsNewExpressionCode(CLIENTS_TO_TEST.map(getClientNameWithLocalSuffix));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { getV3ClientsNewExpressionCode } from "./getV3ClientsNewExpressionCode";
import { getV3PackageRequiresCode } from "./getV3PackageRequiresCode";

export const getServiceRequireWithNameOutput = () => {
let content = ``;
let content = `\n\n`;

content += getV3PackageRequiresCode(getClientNamesSortedByPackageName(CLIENTS_TO_TEST), {
useLocalSuffix: true,
Expand Down

0 comments on commit 16164cd

Please sign in to comment.