From f13482d729230cf1a967ff9e70682d3dfff847a6 Mon Sep 17 00:00:00 2001 From: CncAnon Date: Mon, 28 Aug 2023 14:38:59 +0300 Subject: [PATCH] license + misc changes --- LICENSE | 13 +++++++++++++ main.js | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..8cffccc --- /dev/null +++ b/LICENSE @@ -0,0 +1,13 @@ + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + Version 2, December 2004 + + Copyright (C) 2004 Sam Hocevar + + Everyone is permitted to copy and distribute verbatim or modified + copies of this license document, and changing it is allowed as long + as the name is changed. + + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. You just DO WHAT THE FUCK YOU WANT TO. \ No newline at end of file diff --git a/main.js b/main.js index 63f6d15..1cd7a5d 100644 --- a/main.js +++ b/main.js @@ -155,7 +155,7 @@ else if (API_TOKEN.indexOf("sgp_") == -1) { // Check token validity checkToken(API_TOKEN).then(isValid => { if (!isValid) { - console.error("Invalid SourceGraph API token! The token is not valid. Make sure you copied the whole token."); + console.error("Invalid SourceGraph API token! Make sure you copied the whole token and that the token is not revoked."); process.exit(1); }