Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane Osbourne committed Nov 22, 2024
1 parent 20a124c commit c069050
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { h } from 'preact';
import { useContext } from 'preact/hooks';

import { useTelemetry, useTypedTranslation, useTypedTranslationWith } from '../../types.js';
import { useTelemetry, useTypedTranslationWith } from '../../types.js';
import { useVisibility } from '../../widget-list/widget-config.provider.js';
import { useCustomizer } from '../../customizer/components/Customizer.js';

Expand Down
4 changes: 2 additions & 2 deletions special-pages/translations.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const base = {
};

if (isLaunchFile(import.meta.url)) {
for (let path of paths) {
for (const path of paths) {
await processPage(path);
}
}
Expand All @@ -43,7 +43,7 @@ async function processPage(path) {
};
});

for (let rawEntry of rawEntries) {
for (const rawEntry of rawEntries) {
console.log(`✅ adding ${rawEntry.path} to ${targetName}.json`);
}

Expand Down

0 comments on commit c069050

Please sign in to comment.