mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-08-23 22:16:48 +00:00
chore: run linters and formatters
This commit is contained in:
@@ -119,7 +119,7 @@ Just copy the format from any of the existing packages. It's like this:
|
||||
title: Node.js
|
||||
homepage: https://nodejs.org
|
||||
tagline: |
|
||||
JavaScript V8 runtime
|
||||
JavaScript V8 runtime
|
||||
description: |
|
||||
Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine
|
||||
---
|
||||
|
||||
@@ -12,7 +12,6 @@ function parseYamlish(txt) {
|
||||
var block = false;
|
||||
|
||||
var lines = txt.trim().split('\n');
|
||||
var moreRe = /\s+/;
|
||||
var last;
|
||||
|
||||
if (frontmatter !== lines.shift()) {
|
||||
|
||||
+2
-1
@@ -1,5 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
var uaDetect = module.exports;
|
||||
|
||||
function getRequest(req) {
|
||||
var ua = req.headers['user-agent'] || '';
|
||||
var os = req.query.os;
|
||||
@@ -82,7 +84,6 @@ function getArch(ua) {
|
||||
}
|
||||
}
|
||||
|
||||
var uaDetect = module.exports;
|
||||
uaDetect.os = getOs;
|
||||
uaDetect.arch = getArch;
|
||||
uaDetect.request = getRequest;
|
||||
|
||||
Reference in New Issue
Block a user