From 6ce792e088db7fbde927c290ddaf5b6fd086f71b Mon Sep 17 00:00:00 2001 From: MillenniumEarl Date: Thu, 8 Oct 2020 21:09:39 +0200 Subject: [PATCH] Mispelled folder --- app/index.js | 4 ++-- app/scripts/{costants => constants}/css-selectors.js | 0 app/scripts/{costants => constants}/urls.js | 0 app/scripts/game-scraper.js | 2 +- app/scripts/urls-helper.js | 4 +++- 5 files changed, 6 insertions(+), 4 deletions(-) rename app/scripts/{costants => constants}/css-selectors.js (100%) rename app/scripts/{costants => constants}/urls.js (100%) diff --git a/app/index.js b/app/index.js index 3506a66..14b598c 100644 --- a/app/index.js +++ b/app/index.js @@ -8,8 +8,8 @@ const urlExist = require("url-exist"); // Modules from file const shared = require("./scripts/shared.js"); -const constURLs = require("./scripts/costants/urls.js"); -const selectors = require("./scripts/costants/css-selectors.js"); +const constURLs = require("./scripts/constants/urls.js"); +const selectors = require("./scripts/constants/css-selectors.js"); const { isStringAValidURL } = require("./scripts/urls-helper.js"); const gameScraper = require("./scripts/game-scraper.js"); const { diff --git a/app/scripts/costants/css-selectors.js b/app/scripts/constants/css-selectors.js similarity index 100% rename from app/scripts/costants/css-selectors.js rename to app/scripts/constants/css-selectors.js diff --git a/app/scripts/costants/urls.js b/app/scripts/constants/urls.js similarity index 100% rename from app/scripts/costants/urls.js rename to app/scripts/constants/urls.js diff --git a/app/scripts/game-scraper.js b/app/scripts/game-scraper.js index dad8bd3..6d3f727 100644 --- a/app/scripts/game-scraper.js +++ b/app/scripts/game-scraper.js @@ -7,7 +7,7 @@ const urlExist = require("url-exist"); // Modules from file const shared = require("./shared.js"); -const selectors = require("./costants/css-selectors.js"); +const selectors = require("./constants/css-selectors.js"); const { preparePage } = require("./puppeteer-helper.js"); const GameDownload = require("./classes/game-download.js"); const GameInfo = require("./classes/game-info.js"); diff --git a/app/scripts/urls-helper.js b/app/scripts/urls-helper.js index a1865ed..79ca916 100644 --- a/app/scripts/urls-helper.js +++ b/app/scripts/urls-helper.js @@ -1,7 +1,9 @@ 'use strict'; // Modules from file -const { F95_BASE_URL } = require('./costants/urls.js'); +const { + F95_BASE_URL +} = require('./constants/urls.js'); /** * @protected