From ec812b9e7f7d508abdf170e0d48616328c226f19 Mon Sep 17 00:00:00 2001 From: Marco Link Date: Fri, 1 Oct 2021 15:35:23 +0200 Subject: [PATCH] fix(chore): lint code on CI run --- .circleci/config.yml | 2 ++ src/get-user-agent.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 907004f..edfd353 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,6 +10,8 @@ jobs: - run: npm install - run: npm run build - run: npm run tsc + - run: npm run lint + - run: npm run prettier:check - run: npm run test:cover release: docker: diff --git a/src/get-user-agent.ts b/src/get-user-agent.ts index 34ad471..671feed 100644 --- a/src/get-user-agent.ts +++ b/src/get-user-agent.ts @@ -29,7 +29,7 @@ function getBrowserOS(): string | null { return null } -type PlatformMap = Record +type PlatformMap = Record function getNodeOS(): string | null { const platform = os.platform() || 'linux'