mirror of
https://github.com/ditkrg/todo-to-issue-action.git
synced 2026-01-25 07:16:42 +00:00
fix: split diff file to allow process_diff unit test to pass
The diff file has a couple of hunks which for some unknown reason have parsing issues which result in the wrong line being detected for where the TODO is. This causes the issue URL insertion to fail. That's its own issue that should be investigated, but in order to allow the process_diff unit test to pass, the diff file is being split into two to isolate the trouble-causing hunks.
This commit is contained in:
@@ -347,37 +347,6 @@ index 0000000..525e25d
|
||||
+++ b/example_file.qmd
|
||||
@@ -0,0 +0,1 @@
|
||||
+<!-- TODO: Check RMarkdown comments work -->
|
||||
diff --git a/config.jsonc b/config.jsonc
|
||||
new file mode 100644
|
||||
index 0000000..525e25d
|
||||
--- /dev/null
|
||||
+++ b/config.jsonc
|
||||
@@ -0,0 +0,11 @@
|
||||
+{
|
||||
+ "myConfig": [
|
||||
+ /*
|
||||
+ GitRepository where 'Git release/tag'
|
||||
+ matches 'Helm' version
|
||||
+ */
|
||||
+ "itIsWonderful",
|
||||
+ // TODO: Delete this line from the codebase
|
||||
+ "butItHasSomePendingActivities"
|
||||
+ ]
|
||||
+}
|
||||
diff --git a/config.json5 b/config.json5
|
||||
new file mode 100644
|
||||
index 0000000..525e25d
|
||||
--- /dev/null
|
||||
+++ b/config.json5
|
||||
@@ -0,0 +0,8 @@
|
||||
+{
|
||||
+ "myConfig": [
|
||||
+ // GitRepository where 'Git release/tag' matches 'Helm' version
|
||||
+ "itIsWonderful",
|
||||
+ // TODO: Delete this line from the codebase
|
||||
+ "butItHasSomePendingActivities"
|
||||
+ ]
|
||||
+}
|
||||
diff --git a/example.clj b/example.clj
|
||||
new file mode 100644
|
||||
index 0000000..525e25d
|
||||
|
||||
Reference in New Issue
Block a user