We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf6f6d4 commit ae8740cCopy full SHA for ae8740c
translate.js
@@ -46,7 +46,7 @@ function buildSystemPrompt(targetLang) {
46
47
function getChangedMarkdownFiles() {
48
try {
49
- const output = execSync('git diff --name-only origin/main...HEAD', { encoding: 'utf8' });
+ const output = execSync('git diff --name-only origin/master...HEAD', { encoding: 'utf8' });
50
return output
51
.split('\n')
52
.filter(file => file.startsWith(SOURCE_DIR) && file.endsWith('.md') && fs.existsSync(file));
@@ -161,4 +161,4 @@ async function main() {
161
console.log(`Total tokens: ${totalTokens}`);
162
}
163
164
-main().catch(console.error);
+main().catch(console.error);
0 commit comments