Skip to content

Commit

Permalink
🎨 Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
sansarip committed Jun 1, 2023
1 parent 74012da commit 655011c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/ts/extension/utilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,14 @@ export const asPoint = (pos: Position): Point => ({
column: pos.character,
});

export const log = (msg: string) => {
export const log = (msg: string) => {
output.append(msg);
};

export const makePath = (...pathNames: string[]): string => pathNames.join(path.sep);
export const makePath = (...pathNames: string[]): string =>
pathNames.join(path.sep);

export const isEmptyObj = (obj: object): boolean => Object.keys(obj).length === 0;
export const isEmptyObj = (obj: object): boolean =>
Object.keys(obj).length === 0;

export const localTimeNow = (): string => new Date().toLocaleTimeString();
export const localTimeNow = (): string => new Date().toLocaleTimeString();

0 comments on commit 655011c

Please sign in to comment.