Skip to content

Commit

Permalink
remove unused params
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewp committed Dec 17, 2024
1 parent c100a46 commit b08b8aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/astro/src/core/build/static-build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ async function cleanServerOutput(
files.map(async (filename) => {
const url = new URL(filename, out);
const map = new URL(url + '.map');
await Promise.all([fs.promises.rm(url), fs.promises.rm(new URL(map)).catch((e) => {})]);
await Promise.all([fs.promises.rm(url), fs.promises.rm(new URL(map)).catch(() => {})]);
}),
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ if (!isWindows) {
let found = true;
try {
await fixture.readFile('content/manifest.json');
} catch(e) {
} catch {
found = false;
}
assert.equal(found, false, 'manifest not in dist folder');
Expand Down

0 comments on commit b08b8aa

Please sign in to comment.