From a364e83493abcb66b60a605db04dec7eb5cef937 Mon Sep 17 00:00:00 2001 From: Ivan Towlson Date: Fri, 14 Jun 2019 17:22:20 +1200 Subject: [PATCH] Cope with spaces in column headers --- ts/src/table.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/src/table.ts b/ts/src/table.ts index 7189661..8648b11 100644 --- a/ts/src/table.ts +++ b/ts/src/table.ts @@ -2,7 +2,7 @@ import { Dictionary } from "./dictionary"; import { KubectlOutput } from "."; import { Errorable, failed } from "./errorable"; -const KUBECTL_OUTPUT_COLUMN_SEPARATOR = /\s+/g; +const KUBECTL_OUTPUT_COLUMN_SEPARATOR = /\s\s+/g; /** * Provides a line-oriented view of tabular kubectl output.