fix(runtime-adapters): Silence shell version checks for Bun and Deno; add local Claude settings
This commit is contained in:
@@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@git.zone/tstest',
|
||||
version: '2.6.0',
|
||||
version: '2.6.1',
|
||||
description: 'a test utility to run tests that match test/**/*.ts'
|
||||
}
|
||||
|
@@ -32,7 +32,7 @@ export class BunRuntimeAdapter extends RuntimeAdapter {
|
||||
*/
|
||||
async checkAvailable(): Promise<RuntimeAvailability> {
|
||||
try {
|
||||
const result = await this.smartshellInstance.exec('bun --version', {
|
||||
const result = await this.smartshellInstance.execSilent('bun --version', {
|
||||
cwd: process.cwd(),
|
||||
onError: () => {
|
||||
// Ignore error
|
||||
|
@@ -51,7 +51,7 @@ export class DenoRuntimeAdapter extends RuntimeAdapter {
|
||||
*/
|
||||
async checkAvailable(): Promise<RuntimeAvailability> {
|
||||
try {
|
||||
const result = await this.smartshellInstance.exec('deno --version', {
|
||||
const result = await this.smartshellInstance.execSilent('deno --version', {
|
||||
cwd: process.cwd(),
|
||||
onError: () => {
|
||||
// Ignore error
|
||||
|
Reference in New Issue
Block a user