Skip to content

Commit b92a17a

Browse files
changaes for git
1 parent 22491d4 commit b92a17a

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

src/modules/git.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const gitService = {
1616
"action": "Init",
1717
"path": path
1818
},
19-
"InitResponse"
19+
"gitInitResponse"
2020
);
2121
},
2222
/**
@@ -78,7 +78,7 @@ const gitService = {
7878
"action": "Status",
7979
"path": path
8080
},
81-
"StatusResponse"
81+
"gitStatusResponse"
8282
);
8383
},
8484
/**
@@ -157,7 +157,7 @@ const gitService = {
157157
"action": "Logs",
158158
"path": path
159159
},
160-
"LogsResponse"
160+
"gitLogsResponse"
161161
);
162162
},
163163
/**

testcases/tests/browser-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const codebolt = require('@codebolt/codeboltjs').default;
1+
const codebolt = require('@codebolt/codeboltjs');
22

33
async function testBrowserOperations() {
44
console.log('🌐 Testing Browser Operations');

testcases/tests/chat-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const codebolt = require('@codebolt/codeboltjs').default;
1+
const codebolt = require('@codebolt/codeboltjs');
22

33
async function testChatOperations() {
44
console.log('💬 Testing Chat Operations');

testcases/tests/git-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ async function testGitOperations() {
1111
await codebolt.waitForConnection();
1212

1313
console.log('\n1. Testing git init...');
14-
// const initResult = await codebolt.git.init();
15-
// console.log('✅ Git init result:', initResult);
14+
const initResult = await codebolt.git.init();
15+
console.log('✅ Git init result:', initResult);
1616

1717
console.log('\n2. Testing git status...');
1818
const statusResult = await codebolt.git.status();

0 commit comments

Comments
 (0)