Skip to content
This repository has been archived by the owner on Jan 1, 2020. It is now read-only.

Commit

Permalink
Hotfix: change quoting in composer script to work cross platform
Browse files Browse the repository at this point in the history
The issue is present on Windows when using single quotes.

Fix #450
  • Loading branch information
michalbundyra committed Nov 21, 2019
1 parent 557dd78 commit e6839d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
"development-status": "zf-development-mode status",
"post-create-project-cmd": [
"@development-enable",
"php -r '$file = file_get_contents(\".gitignore\"); $file = str_replace(\"composer.lock\", \"\", $file); file_put_contents(\".gitignore\", $file);'"
"php -r \"$file = file_get_contents('.gitignore'); $file = str_replace('composer.lock', '', $file); file_put_contents('.gitignore', $file);\""
],
"serve": "php -S 0.0.0.0:8080 -t public",
"test": "phpunit"
Expand Down

0 comments on commit e6839d3

Please sign in to comment.