We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87aac50 commit d46edfdCopy full SHA for d46edfd
1 file changed
src/types/TodoType.ts
@@ -33,11 +33,11 @@ export class TodoType {
33
if (url.split(":")[0].toString() == "untitled") {
34
middle = "; Line Number: ";
35
}
36
- let path = url + middle + this.getLineNumber().toString();
+ let path = url + middle + this.getLineNumber();
37
return `From ${path}\n----------------------------------\n${this.getContent()}`;
38
39
40
toString(): string {
41
- return this.getFile().toString() + "\n" + this.getContent.toString();
+ return this.getFile() + "\n" + this.getContent;
42
43
0 commit comments