create-prisma-php-app 2.3.39 → 2.3.40
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.
|
@@ -51,6 +51,12 @@ function updateProjectNameInConfig(
|
|
|
51
51
|
// Function to determine the target path for browser-sync
|
|
52
52
|
function getTargetPath(fullPath: string, environment: string): string {
|
|
53
53
|
const normalizedPath = normalize(fullPath);
|
|
54
|
+
|
|
55
|
+
// Patch: if CI, return root ("/") as default target path
|
|
56
|
+
if (process.env.CI === "true") {
|
|
57
|
+
return "/";
|
|
58
|
+
}
|
|
59
|
+
|
|
54
60
|
const webDirectories: { [key: string]: string } = {
|
|
55
61
|
XAMPP: join("htdocs"),
|
|
56
62
|
WAMP: join("www"),
|