Skip to content

Commit 68eb476

Browse files
committed
fix(opencode.ai): fix test.
1 parent 88ef7ac commit 68eb476

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/opencode.ai/devcontainer-feature.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "opencode.ai",
33
"id": "opencode.ai",
4-
"version": "0.0.7",
4+
"version": "0.0.8",
55
"description": "Install \"opencode\" binary",
66
"documentationURL": "https://github.com/devcontainer-community/devcontainer-features/tree/main/src/opencode.ai",
77
"options": {

test/opencode.ai/test.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ source dev-container-features-test-lib
1212
# The 'check' command comes from the dev-container-features-test-lib. Syntax is...
1313
# check <LABEL> <cmd> [args...]
1414

15-
check "execute command" bash -c "opencode --version | grep 'opencode'"
15+
# check "execute command" bash -c "opencode"
16+
check "check existence" bash -c "ls -lah /usr/local/bin/opencode"
1617

1718
# Report results
1819
# If any of the checks above exited with a non-zero exit code, the test will fail.

0 commit comments

Comments
 (0)