Lint & add comments
This commit is contained in:
parent
5abbd5d8ee
commit
b0192aae23
3 changed files with 4 additions and 5 deletions
|
|
@ -22,6 +22,7 @@ export class FileOperations {
|
|||
|
||||
const decoder = new TextDecoder("utf-8");
|
||||
|
||||
// Normalize line endings to LF on Windows
|
||||
let text = decoder.decode(content);
|
||||
text = text.replace(/\r\n/g, "\n");
|
||||
|
||||
|
|
@ -136,6 +137,7 @@ export class FileOperations {
|
|||
|
||||
public isFileEligibleForSync(path: RelativePath): boolean {
|
||||
return true;
|
||||
// TODO: figure this out
|
||||
// if (Platform.isDesktopApp) {
|
||||
// return true;
|
||||
// }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue