Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
ThatGuySam committed Aug 12, 2023
1 parent 3fde8f1 commit c5f3334
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build-lists.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ class BuildLists {
return
}

// Run all listsOprions methods
// Run all listsOptions methods
// and store them to this.lists
async buildLists () {
console.log( 'Build Lists started', cliOptions )
Expand Down Expand Up @@ -321,7 +321,7 @@ class BuildLists {
getListArrayMemoized = memoize( this.getListArray.bind( this ) )

makeAppsByCategory () {
// Intialize empty category lists
// Initialize empty category lists
// so empty categories still get defined
const emptyCategories = Object.fromEntries(
Object.keys( categories ).map( categorySlug => [ categorySlug, [] ])
Expand Down
4 changes: 2 additions & 2 deletions test/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ test('Sitemap contains no double slashes in paths', (t) => {
test('Sitemap mostly matches production', async (t) => {
// console.log('t.context.sitemapUrls', t.context.sitemapUrls)

const theshold = 20
const threshold = 20

const urlsNotOnLive = new Set()
// const newLocalUrls = new Set()
Expand Down Expand Up @@ -154,7 +154,7 @@ test('Sitemap mostly matches production', async (t) => {
t.log( 'Not found locally', liveSitemapUrlStrings )
}

if ( totalDifferences >= theshold ) {
if ( totalDifferences >= threshold ) {
t.fail( message )
}

Expand Down
2 changes: 1 addition & 1 deletion vite.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// We keep a seperate vite config file that vite-node, vitest, and Astro can reference
// We keep a separate vite config file that vite-node, vitest, and Astro can reference
// so that our environment is as close as possible for all of them.

// yarn add --dev @esbuild-plugins/node-globals-polyfill
Expand Down

0 comments on commit c5f3334

Please sign in to comment.