Skip to content
This repository was archived by the owner on Jul 14, 2025. It is now read-only.

Commit a364e83

Browse files
committed
Cope with spaces in column headers
1 parent bfeb23b commit a364e83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ts/src/table.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Dictionary } from "./dictionary";
22
import { KubectlOutput } from ".";
33
import { Errorable, failed } from "./errorable";
44

5-
const KUBECTL_OUTPUT_COLUMN_SEPARATOR = /\s+/g;
5+
const KUBECTL_OUTPUT_COLUMN_SEPARATOR = /\s\s+/g;
66

77
/**
88
* Provides a line-oriented view of tabular kubectl output.

0 commit comments

Comments
 (0)