From 9aa60b4305de2fde2a46e49f29fb955d3e8a5506 Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Mon, 20 Apr 2020 14:26:15 -0700 Subject: [PATCH] Fix lint action, fix lint error. --- .github/workflows/test.yml | 2 +- src/config_test.ts | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8eba4989e7..8b96c30376 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,5 +23,5 @@ jobs: - run: node version-check.js - run: npm install - run: npm test - - run: npm lint + - run: npm run lint diff --git a/src/config_test.ts b/src/config_test.ts index 4135f5c5db..59c2e8b24d 100644 --- a/src/config_test.ts +++ b/src/config_test.ts @@ -947,7 +947,9 @@ describe('KubeConfig', () => { // TODO: inject the exec command here? const opts = {} as requestlib.Options; await config.applyToRequest(opts); - expect((KubeConfig as any).authenticators[1].tokenCache['exec']).to.deep.equal(JSON.parse(responseStr)); + expect((KubeConfig as any).authenticators[1].tokenCache['exec']).to.deep.equal( + JSON.parse(responseStr), + ); }); it('should throw with no command.', () => {