We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 256201c commit 30ef911Copy full SHA for 30ef911
src/cli/index.ts
@@ -29,6 +29,7 @@ import inquirer from "inquirer";
29
import inquirerSearchList from "inquirer-search-list";
30
import { format } from "util";
31
import { functionSpec } from "./functionSpec.js";
32
+import dns from "node:dns";
33
34
const MINIMUM_MAJOR_VERSION = 16;
35
const MINIMUM_MINOR_VERSION = 15;
@@ -43,6 +44,9 @@ async function main() {
43
44
// import * as SentryTracing from "@sentry/tracing"
45
// Unused named imports are not guaranteed to patch the global hub.
46
47
+ // Use ipv4 first for 127.0.0.1 in tests
48
+ dns.setDefaultResultOrder("ipv4first");
49
+
50
if (!process.env.CI && provisionHost === productionProvisionHost) {
51
Sentry.init({
52
dsn: "https://[email protected]/6390839",
0 commit comments