Skip to content

Commit

Permalink
Merge pull request #217 from contentful/feat/lint-on-ci-run
Browse files Browse the repository at this point in the history
fix(chore): lint code on CI run
  • Loading branch information
marcolink authored Oct 1, 2021
2 parents 9caadce + ec812b9 commit 0079545
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion src/get-user-agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function getBrowserOS(): string | null {
return null
}

type PlatformMap = Record<string, 'Android' | 'Linux' | 'Windows' | 'macOS'>
type PlatformMap = Record<string, 'Android' | 'Linux' | 'Windows' | 'macOS'>

function getNodeOS(): string | null {
const platform = os.platform() || 'linux'
Expand Down

0 comments on commit 0079545

Please sign in to comment.