From 2c8f17b03737778d37a0d189aa72026124309b94 Mon Sep 17 00:00:00 2001 From: Denis Demchenko Date: Thu, 8 Jun 2017 23:35:08 +0300 Subject: [PATCH] Add Linux detection --- src/parser-os.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/parser-os.js b/src/parser-os.js index 19f8e38..07177a2 100644 --- a/src/parser-os.js +++ b/src/parser-os.js @@ -138,5 +138,15 @@ export default [ version }; } + }, + + /* Linux */ + { + test: [/linux/i], + describe() { + return { + name: 'Linux' + } + } } ]