Skip to content

Commit ed68adb

Browse files
author
Colin McNeil
committed
Tidyup 1
1 parent 69f21ef commit ed68adb

File tree

11 files changed

+3
-64
lines changed

11 files changed

+3
-64
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,6 @@ expressions documented [here](https://github.com/yogthos/Selmer) are supported.
129129
```sh
130130
#docker:command=build
131131

132-
docker build -t vonwig/prompts:local -f Dockerfile .
132+
docker build -t vonwig/prompts:latest -f Dockerfile .
133133
```
134134

File renamed without changes.

prompts/git/README.md renamed to functions/git/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
extractors:
3-
- image: vonwig/git:local
3+
- image: vonwig/git:latest
44
entrypoint:
55
- /extract.sh
66
functions:
@@ -18,7 +18,7 @@ functions:
1818
type: string
1919
description: An argument to the git command
2020
container:
21-
image: vonwig/git:local
21+
image: vonwig/git:latest
2222
---
2323

2424
# Background
File renamed without changes.
File renamed without changes.

functions/tree_sitter/main.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,6 @@ const line_node = search_node(parsed.rootNode)
3333

3434
const parent = line_node.parent
3535

36-
if (parent) {
37-
const start_line = parent.startPosition.row
38-
const end_line = parent.endPosition.row
39-
// Return codeContent from start_line to end_line
40-
const lines = codeContent.split('\n').slice(start_line, end_line + 1)
41-
parent.content = lines.join('\n')
42-
}
43-
4436
console.log({
4537
offending_line: line_node.text,
4638
line_node: line_node,

prompts/git/010_system_prompt.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

prompts/git/020_user_prompt.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

prompts/lint/010_system_prompt.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

prompts/lint/100_user_prompt.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)