Skip to content

Commit f2a3ae8

Browse files
Ignore ca-bundle created by @php-wasm/cli (#88)
## Motivation for the change, related issues When `@php-wasm/cli` runs, it dynamically creates a `ca-bundle.crt` file derived from the Node.js `tls` module. We don't want to see this as an untracked file from `git status`. ## Implementation details Add the file to .gitignore. ## Testing Instructions (or ideally a Blueprint) - Run `npx nx dev php-wasm-cli "-r 'echo \"huzzah\n\";'"` - Use `fine packages/php-wasm/cli -name ca-bundle.crt` to confirm that ca-bundle.crt exists. - Run `git status` and confirm the file is not visible.
1 parent fa41a9f commit f2a3ae8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,8 @@ php.js.bak
6060
**/test-results/
6161
**/playwright-report/
6262
**/blob-report/
63+
64+
# @php-wasm/cli saves this file to disk so PHP has access to it.
65+
# Since it is dynamically generated from the Node.js TLS module,
66+
# we do not want to commit it to the repository.
67+
packages/php-wasm/cli/src/ca-bundle.crt

0 commit comments

Comments
 (0)