querysub 0.278.0 → 0.280.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "querysub",
3
- "version": "0.278.0",
3
+ "version": "0.280.0",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "note1": "note on node-forge fork, see https://github.com/digitalbazaar/forge/issues/744 for details",
@@ -25,7 +25,7 @@ export async function commitAndPush(config: {
25
25
  gitDir: string;
26
26
  message: string;
27
27
  }) {
28
- // Write commit message to temporary file to handle newlines and special characters properly
28
+ // Use a file to handle newlines, etc
29
29
  const tempFile = path.join(os.tmpdir(), `commit-message-${Date.now()}-${Math.random().toString(36).substr(2, 9)}.txt`);
30
30
 
31
31
  try {
@@ -51,7 +51,7 @@ export async function getGitRefInfo(config: {
51
51
  description: string;
52
52
  }> {
53
53
  const timeOutput = await runPromise(`git show --format="%ct" -s ${config.ref}`, { cwd: config.gitDir });
54
- const descriptionOutput = await runPromise(`git show --format="%s" -s ${config.ref}`, { cwd: config.gitDir });
54
+ const descriptionOutput = await runPromise(`git show --format="%B" -s ${config.ref}`, { cwd: config.gitDir });
55
55
 
56
56
  return {
57
57
  time: parseInt(timeOutput.trim(), 10) * 1000,