Skip to content

Commit

Permalink
chore: remove istanbul comments
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Apr 30, 2023
1 parent 7b3178f commit 68e69fa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,6 @@ function _minWidth (col: Column) {

function getWindowWidth (): number {
/* c8 ignore start */
/* istanbul ignore next: depends on terminal */
if (typeof process === 'object' && process.stdout && process.stdout.columns) {
return process.stdout.columns
}
Expand All @@ -385,7 +384,6 @@ function alignCenter (str: string, width: number): string {
const strWidth = mixin.stringWidth(str)

/* c8 ignore start */
/* istanbul ignore next */
if (strWidth >= width) {
return str
}
Expand Down

0 comments on commit 68e69fa

Please sign in to comment.