chore: run linters and formatters

This commit is contained in:
AJ ONeal
2022-01-26 02:00:21 -07:00
parent 6ebcd76d3a
commit a50d690197
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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
---
-1
View File
@@ -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
View File
@@ -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;