chore: format code
This commit is contained in:
parent
238b907dd8
commit
9c938eec73
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ export const BashTool = Tool.define("bash", async () => {
|
||||||
const shell = iife(() => {
|
const shell = iife(() => {
|
||||||
const s = process.env.SHELL
|
const s = process.env.SHELL
|
||||||
if (s) {
|
if (s) {
|
||||||
const basename = path.basename(s);
|
const basename = path.basename(s)
|
||||||
if (!new Set(["fish", "nu"]).has(basename)) {
|
if (!new Set(["fish", "nu"]).has(basename)) {
|
||||||
return s
|
return s
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue