Skip to content

Commit 217a981

Browse files
authored
fix: use experimental detect encoding with svn cat (#832)
1 parent 954d8f7 commit 217a981

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/svnRepository.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,14 @@ export class Repository {
350350
}
351351
}
352352

353+
const experimental = configuration.get<boolean>(
354+
"experimental.detect_encoding",
355+
false
356+
);
357+
if (experimental) {
358+
encoding = null;
359+
}
360+
353361
const result = await this.exec(args, { encoding });
354362

355363
return result.stdout;

0 commit comments

Comments
 (0)