Skip to content

Commit a66ac87

Browse files
remove extra package.json modification
1 parent 27148d1 commit a66ac87

File tree

1 file changed

+0
-17
lines changed
  • packages/wrangler/src/autoconfig

1 file changed

+0
-17
lines changed

‎packages/wrangler/src/autoconfig/run.ts‎

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -107,23 +107,6 @@ export async function runAutoConfig(
107107
`Running autoconfig with:\n${JSON.stringify(autoConfigDetails, null, 2)}...`
108108
);
109109

110-
if (autoConfigDetails.packageJson) {
111-
await writeFile(
112-
resolve(autoConfigDetails.projectPath, "package.json"),
113-
JSON.stringify(
114-
{
115-
...autoConfigDetails.packageJson,
116-
scripts: {
117-
...autoConfigDetails.packageJson.scripts,
118-
...autoConfigSummary.scripts,
119-
},
120-
},
121-
null,
122-
2
123-
)
124-
);
125-
}
126-
127110
if (autoConfigSummary.wranglerInstall) {
128111
await installWrangler();
129112
}

0 commit comments

Comments
 (0)