Skip to content

Commit ae8740c

Browse files
authored
Change git branch reference from main to master
1 parent bf6f6d4 commit ae8740c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

translate.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function buildSystemPrompt(targetLang) {
4646

4747
function getChangedMarkdownFiles() {
4848
try {
49-
const output = execSync('git diff --name-only origin/main...HEAD', { encoding: 'utf8' });
49+
const output = execSync('git diff --name-only origin/master...HEAD', { encoding: 'utf8' });
5050
return output
5151
.split('\n')
5252
.filter(file => file.startsWith(SOURCE_DIR) && file.endsWith('.md') && fs.existsSync(file));
@@ -161,4 +161,4 @@ async function main() {
161161
console.log(`Total tokens: ${totalTokens}`);
162162
}
163163

164-
main().catch(console.error);
164+
main().catch(console.error);

0 commit comments

Comments
 (0)