mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
do not list files if not git
This commit is contained in:
parent
a5a39dada7
commit
4cf0aebb2e
1 changed files with 1 additions and 1 deletions
|
|
@ -224,7 +224,7 @@ Platform: ${process.platform}
|
|||
Today's date: ${new Date().toISOString()}
|
||||
</env>
|
||||
<project>
|
||||
${await ListTool.execute({ path: app.path.cwd }, { sessionID: input.sessionID }).then((x) => x.output)}
|
||||
${app.git ? await ListTool.execute({ path: app.path.cwd }, { sessionID: input.sessionID }).then((x) => x.output) : ""}
|
||||
</project>
|
||||
`,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue