Skip to content

Commit

Permalink
Merge pull request #366 from jamesgeorge007/hotfix/refactor
Browse files Browse the repository at this point in the history
fix(chore): Minor refactor
  • Loading branch information
joaomoreno authored Jun 20, 2019
2 parents d054e81 + 5420934 commit 5581573
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/viewutils.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
const os = require('os');

export type ViewTableRow = string[];
export type ViewTable = ViewTableRow[];

Expand All @@ -13,7 +11,7 @@ const columns = process.stdout.columns ? process.stdout.columns : 80;

// xxx: Windows cmd + powershell standard fonts currently don't support the full
// unicode charset. For now we use fallback icons when on windows.
const useFallbackIcons = os.platform() === 'win32';
const useFallbackIcons = process.platform === 'win32';

export const icons = useFallbackIcons?
{
Expand Down

0 comments on commit 5581573

Please sign in to comment.