create-stardrive 1.3.4 → 1.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/index.js +1 -1
- package/package.json +1 -1
package/bin/index.js
CHANGED
|
@@ -306,7 +306,7 @@ function removeCloudflare(targetDir2) {
|
|
|
306
306
|
content,
|
|
307
307
|
/^import cloudflare from ['"]@astrojs\/cloudflare['"];/
|
|
308
308
|
);
|
|
309
|
-
return
|
|
309
|
+
return removeBraceBlock(withoutImport, /^\s*adapter:\s*cloudflare\(/m);
|
|
310
310
|
});
|
|
311
311
|
const packageJsonPath = path.join(targetDir2, "package.json");
|
|
312
312
|
if (fs.existsSync(packageJsonPath)) {
|