Skip to content

Commit

Permalink
chore: re-write server-utils to typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowusr committed Aug 10, 2023
1 parent 87b57b3 commit d7654fb
Show file tree
Hide file tree
Showing 12 changed files with 7,903 additions and 4,604 deletions.
1 change: 1 addition & 0 deletions lib/constants/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export * from './diff-modes';
export * from './paths';
export * from './test-statuses';
export * from './view-modes';
8 changes: 2 additions & 6 deletions lib/constants/paths.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
'use strict';

module.exports = {
IMAGES_PATH: 'images',
ERROR_DETAILS_PATH: 'error-details'
};
export const IMAGES_PATH = 'images';
export const ERROR_DETAILS_PATH = 'error-details';
2 changes: 1 addition & 1 deletion lib/gui/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import chalk from 'chalk';
import opener from 'opener';
import server from './server';
import {logger} from '../common-utils';
import utils from '../server-utils';
import * as utils from '../server-utils';

const {logError} = utils;

Expand Down
Loading

0 comments on commit d7654fb

Please sign in to comment.