@beyondwork/wb-cli 0.1.3 → 0.1.4-pre1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/cli.js +3 -3
- package/package.json +1 -1
package/out/cli.js
CHANGED
|
@@ -260,12 +260,12 @@ commander_1.program
|
|
|
260
260
|
}
|
|
261
261
|
if (prNumberForComment && prRepoOwner && prRepoName && octokitInstance && dirsToProcess.size > 0) { // New condition
|
|
262
262
|
logger.log(`Attempting to comment on PR #${prNumberForComment} in repo ${prRepoOwner}/${prRepoName}`);
|
|
263
|
-
let commentBody = 'The following workblock directories were processed by `wb-cli publish-changed-workblocks
|
|
263
|
+
let commentBody = 'The following workblock directories were processed by `wb-cli publish-changed-workblocks`:\n';
|
|
264
264
|
for (const dir of dirsToProcess) {
|
|
265
|
-
commentBody += `-
|
|
265
|
+
commentBody += `- \`\`\`${dir}\`\`\`\n`; // Using backticks for dirs
|
|
266
266
|
}
|
|
267
267
|
if (anySubmissionFailed) {
|
|
268
|
-
commentBody += '
|
|
268
|
+
commentBody += '\nNote: One or more submissions failed. Check logs for details.';
|
|
269
269
|
}
|
|
270
270
|
try {
|
|
271
271
|
await octokitInstance.rest.issues.createComment({
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publisher": "beyondwork",
|
|
4
4
|
"displayName": "Beyond Work",
|
|
5
5
|
"description": "Beyond Work is a tool for managing your work in a way that is easy to use and understand.",
|
|
6
|
-
"version": "0.1.
|
|
6
|
+
"version": "0.1.4-pre1",
|
|
7
7
|
"engines": {
|
|
8
8
|
"vscode": "^1.94.0",
|
|
9
9
|
"node": ">=16.0.0"
|