Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: build warnings #2562

Merged
merged 1 commit into from
Apr 6, 2023
Merged

Conversation

privatenumber
Copy link
Contributor

@privatenumber privatenumber commented Apr 5, 2023

Trying to build with esbuild emitted the following warnings

@@ -651,7 +651,6 @@ const exports = {
setDefaultResultOrder,
resolve,
reverse,
resolve,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate export

@@ -20,7 +20,6 @@ export class PerformanceNodeTiming {
export default {
performance,
PerformanceEntry,
PerformanceEntry,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate export

@@ -38,7 +38,6 @@ var repl = {
history: [],
_initialPrompt: "> ",
terminal: true,
cursor: 0,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate entry.

@@ -167,7 +167,7 @@ export async function request(
if (typeof url === "string") {
if (query) url = new URL(url);
} else if (typeof url === "object" && url !== null) {
if (!url instanceof URL) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug, treated as (!url) instanceof URL

@privatenumber privatenumber mentioned this pull request Apr 5, 2023
@Jarred-Sumner Jarred-Sumner merged commit fd680d6 into oven-sh:main Apr 6, 2023
@Jarred-Sumner
Copy link
Collaborator

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants