Clear the start command when the framework changes on create too

The settings form already resets it; the create flows kept the previous
framework's entrypoint in state and submitted it, and kept sending it
after a switch to a framework that only builds static.

Reset it alongside the other adapter-derived fields in both places.
This commit is contained in:
harsh mahajan committed 2026-08-13 17:19:13 +05:30
1 parent 40588237ed
commit a175d022e2
2 files changed
+2

No files matched your search

@@ -28,6 +28,7 @@
installCommand = adapterData?.installCommand ?? '';
buildCommand = adapterData?.buildCommand ?? '';
outputDirectory = adapterData?.outputDirectory ?? '';
startCommand = '';
lastAdapterDefaultsKey = adapterDefaultsKey;
}
</script>
@@ -94,6 +94,7 @@
installCommand = adapter.installCommand || '';
buildCommand = adapter.buildCommand || '';
outputDirectory = adapter.outputDirectory || '';
startCommand = '';
}
}
});