@leeovery/claude-technical-workflows 2.1.37 → 2.1.38

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": "@leeovery/claude-technical-workflows",
3
- "version": "2.1.37",
3
+ "version": "2.1.38",
4
4
  "description": "Technical workflow skills & commands for Claude Code",
5
5
  "license": "MIT",
6
6
  "author": "Lee Overy <me@leeovery.com>",
@@ -53,6 +53,8 @@ done
53
53
  if [ -f "$GITIGNORE" ] && grep -qxF "$NEW_ENTRY" "$GITIGNORE"; then
54
54
  report_skip "$GITIGNORE"
55
55
  else
56
+ # Ensure file ends with newline before appending
57
+ [ -f "$GITIGNORE" ] && [ -n "$(tail -c 1 "$GITIGNORE")" ] && echo >> "$GITIGNORE"
56
58
  echo "$NEW_ENTRY" >> "$GITIGNORE"
57
59
  report_update "$GITIGNORE" "added .cache/ to gitignore"
58
60
  fi