You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 8, 2025. It is now read-only.
coreExports.info(format(`Options for finding or adding application=%o.`, args));
30131
30131
await trdlCli.mustExist();
30132
30132
const list = await trdlCli.list();
30133
30133
const found = list.find((item) => args.repo === item.name);
30134
30134
if (!found) {
30135
-
coreExports.info(format('Application not found. Adding it via "trdl add" with args=%o.', args));
30135
+
coreExports.info(`Application not found. Adding application via "${trdlCli.name} add".`);
30136
30136
await trdlCli.add(args);
30137
30137
coreExports.endGroup();
30138
30138
return;
30139
30139
}
30140
30140
if (!inputs.force) {
30141
30141
if (found.url !== args.url) {
30142
-
throw new Error(`Already added repo.url=${found.url} is not matched with given input.url=${args.url}. Use the force input to overwrite.`);
30142
+
throw new Error(`Application is already added with repo.url=${found.url} which is not matched with given input.url=${args.url}. Use the force input to overwrite.`);
30143
30143
}
30144
-
coreExports.info(format('Adding skipped. Application is already added with inputs.url=%s.', args.url));
30144
+
coreExports.info(`Application addition skipped because it is already added with inputs.url=${args.url}.`);
30145
30145
coreExports.endGroup();
30146
30146
return;
30147
30147
}
30148
30148
// force adding
30149
-
coreExports.info(format('Force adding application using sequence of "trdl remove" and "trdl add" with args=%o.', args));
30149
+
coreExports.info(`Force adding application using "${trdlCli.name} remove" and "${trdlCli.name} add".`);
30150
30150
await trdlCli.remove(args);
30151
30151
await trdlCli.add(args);
30152
30152
coreExports.endGroup();
@@ -30257,28 +30257,28 @@ function formatTrdlUseEnv(args) {
30257
30257
};
30258
30258
}
30259
30259
async function Do(trdlCli, p) {
30260
-
coreExports.startGroup('Using application via "trdl update" and "trdl bin-path"');
30260
+
coreExports.startGroup(`Using application via "${trdlCli.name} update" and "${trdlCli.name} bin-path".`);
Copy file name to clipboardExpand all lines: setup-app/src/add.test.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -78,7 +78,7 @@ describe('setup-app/src/add.ts', function () {
78
78
trdlCli.list.mockResolvedValueOnce([listItem])
79
79
80
80
constexpectedErr=newError(
81
-
`Already added repo.url=${listItem.url} is not matched with given input.url=${addArgs.url}. Use the force input to overwrite.`
81
+
`Application is already added with repo.url=${listItem.url} which is not matched with given input.url=${addArgs.url}. Use the force input to overwrite.`
0 commit comments