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