You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -232,7 +232,7 @@ If no `filename` is given, each file will be given a random name that doesn't
232
232
include any file extension.
233
233
234
234
**Note:** Multer will not append any file extension for you, your function
235
-
should return a filename complete with an file extension.
235
+
should return a filename complete with a file extension.
236
236
237
237
Each function gets passed both the request (`req`) and some information about
238
238
the file (`file`) to aid with the decision.
@@ -308,7 +308,7 @@ When encountering an error, Multer will delegate the error to Express. You can
308
308
display a nice error page using [the standard express way](http://expressjs.com/guide/error-handling.html).
309
309
310
310
If you want to catch errors specifically from Multer, you can call the
311
-
middleware function by yourself. Also, if you want to catch only [the Multer errors](https://github.com/expressjs/multer/blob/master/lib/multer-error.js), you can use the `MulterError` class that is attached to the `multer` object itself (e.g. `err instanceof multer.MulterError`).
311
+
middleware function by yourself. Also, if you want to catch only [the Multer errors](https://github.com/expressjs/multer/blob/main/lib/multer-error.js), you can use the `MulterError` class that is attached to the `multer` object itself (e.g. `err instanceof multer.MulterError`).
312
312
313
313
```javascript
314
314
constmulter=require('multer')
@@ -329,16 +329,16 @@ app.post('/profile', function (req, res) {
329
329
330
330
## Custom storage engine
331
331
332
-
For information on how to build your own storage engine, see [Multer Storage Engine](https://github.com/expressjs/multer/blob/master/StorageEngine.md).
332
+
For information on how to build your own storage engine, see [Multer Storage Engine](https://github.com/expressjs/multer/blob/main/StorageEngine.md).
The list can be found at [https://github.com/expressjs/discussions/blob/HEAD/docs/contributing/captains_and_committers.md#active-projects-and-members](https://github.com/expressjs/discussions/blob/HEAD/docs/contributing/captains_and_committers.md#active-projects-and-members)
241
181
242
182
#### Current Initiative Captains
243
183
244
-
- Triage team [ref](https://github.com/expressjs/discussions/issues/227): @UlisesGascon
184
+
The list can be found at [https://github.com/expressjs/discussions/blob/HEAD/docs/contributing/captains_and_committers.md#current-initiative-captains](https://github.com/expressjs/discussions/blob/HEAD/docs/contributing/captains_and_committers.md#current-initiative-captains)
245
185
246
186
### Developer's Certificate of Origin 1.1
247
187
@@ -279,6 +219,8 @@ By making a contribution to this project, I certify that:
279
219
280
220
Open issues for the expressjs.com website in https://github.com/expressjs/expressjs.com.
281
221
222
+
For issues in other Express managed repos (everything in `expressjs`, `pillarjs` or `jshttp` other than `expressjs/express`), be sure to check their contributing guide and open issues and PRs in the appropriate repository.
223
+
282
224
### PRs and Code contributions
283
225
284
226
* Tests must pass.
@@ -290,14 +232,14 @@ Open issues for the expressjs.com website in https://github.com/expressjs/expres
290
232
Use the `master` branch for bug fixes or minor work that is intended for the
291
233
current release stream.
292
234
293
-
Use the correspondingly named branch, e.g. `5.0`, for anything intended for
235
+
Use the correspondingly named branch, e.g. `6.x`, for anything intended for
294
236
a future release of Express.
295
237
296
238
### Steps for contributing
297
239
298
-
1.[Create an issue](https://github.com/expressjs/express/issues/new) for the
240
+
1. Create an issue for the
299
241
bug you want to fix or the feature that you want to add.
300
-
2. Create your own [fork](https://github.com/expressjs/express) on GitHub, then
242
+
2. Create your own fork on GitHub, then
301
243
checkout your fork.
302
244
3. Write your code in your local copy. It's good practice to create a branch for
303
245
each new issue you work on, although not compulsory.
@@ -325,6 +267,13 @@ Things that will help get your question issue looked at:
325
267
If you post a question and do not outline the above items or make it easy for
326
268
us to understand and reproduce your issue, it will be closed.
327
269
270
+
If your question meets all of the above requirements but you do not believe it needs to be looked at
271
+
by the maintainers
272
+
(for example, if you are just looking for community input) please open it as a discussion topic instead
273
+
of an issue. If you
274
+
are unsure and open an issue, we may move it to discussions if we triage them and decide they do
0 commit comments