Skip to content

Commit bd85ce9

Browse files
committed
Add TODO comment
1 parent a172765 commit bd85ce9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/node/src/integrations/contextlines.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import { NodeClient } from '../client';
99
const FILE_CONTENT_CACHE = new LRUMap<string, string | null>(100);
1010
const DEFAULT_LINES_OF_CONTEXT = 7;
1111

12+
// TODO: Replace with promisify when minimum supported node >= v8
1213
function readTextFileAsync(path: string): Promise<string> {
1314
return new Promise((resolve, reject) => {
1415
readFile(path, 'utf8', (err, data) => {

0 commit comments

Comments
 (0)