Make processName example clearer
The description for processName says the function is passed the filepath but the example uses an argument named `filename`. This change makes it clearer that the filepath is being passed to the function
This commit is contained in:
parent
a5c76f56e4
commit
ba4ba32360
@ -20,8 +20,8 @@ This option accepts a function which takes one argument (the template filepath)
|
|||||||
|
|
||||||
```js
|
```js
|
||||||
options: {
|
options: {
|
||||||
processName: function(filename) {
|
processName: function(filepath) {
|
||||||
return filename.toUpperCase();
|
return filepath.toUpperCase();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user