From 97697e3d069972844b2912a93022f4a4904a40d6 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sat, 31 Jul 2021 15:28:23 +0530 Subject: Fixed eslintrc as root for this folder; Reformatted all files. --- recipes/github_entreprise/index.js | 8 +++----- recipes/github_entreprise/webview.js | 1 - 2 files changed, 3 insertions(+), 6 deletions(-) (limited to 'recipes/github_entreprise') diff --git a/recipes/github_entreprise/index.js b/recipes/github_entreprise/index.js index f15e5cb..2ffc5ee 100644 --- a/recipes/github_entreprise/index.js +++ b/recipes/github_entreprise/index.js @@ -1,5 +1,3 @@ -"use strict"; - module.exports = Franz => class GitHubEnterprise extends Franz { async validateUrl(url) { try { @@ -7,10 +5,10 @@ module.exports = Franz => class GitHubEnterprise extends Franz { method: 'GET', headers: { 'Content-Type': 'application/json', - 'Accept': 'application/vnd.github.v3+json' + Accept: 'application/vnd.github.v3+json', }, }); - //doc: https://developer.github.com/enterprise/2.17/v3/#current-version + // doc: https://developer.github.com/enterprise/2.17/v3/#current-version return resp.status.toString().startsWith('2'); } catch (err) { console.error(err); @@ -18,4 +16,4 @@ module.exports = Franz => class GitHubEnterprise extends Franz { return false; } -}; \ No newline at end of file +}; diff --git a/recipes/github_entreprise/webview.js b/recipes/github_entreprise/webview.js index 3918c74..e69de29 100644 --- a/recipes/github_entreprise/webview.js +++ b/recipes/github_entreprise/webview.js @@ -1 +0,0 @@ -"use strict"; -- cgit v1.2.3-70-g09d2