Skip to content

Commit

Permalink
Revert "feat(constants): add bot as a platform (#540)"
Browse files Browse the repository at this point in the history
This reverts commit 69928b9.
  • Loading branch information
naorpeled authored Nov 27, 2023
1 parent 69928b9 commit 6f9d6bf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ list of aliases can be found in [the file](src/constants.js).

### Code Contributors

This project exists thanks to all the people who contribute. [[Contribute](.github/CONTRIBUTING.md)].
This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)].
<a href="https://github.com/lancedikson/bowser/graphs/contributors"><img src="https://opencollective.com/bowser/contributors.svg?width=890&button=false" /></a>

### Financial Contributors
Expand Down
1 change: 0 additions & 1 deletion src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ export const PLATFORMS_MAP = {
mobile: 'mobile',
desktop: 'desktop',
tv: 'tv',
bot: 'bot',
};

export const OS_MAP = {
Expand Down
2 changes: 1 addition & 1 deletion src/parser-platforms.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default [
test: [/googlebot/i],
describe() {
return {
type: PLATFORMS_MAP.bot,
type: 'bot',
vendor: 'Google',
};
},
Expand Down

0 comments on commit 6f9d6bf

Please sign in to comment.