Methods
(static) default(parameters) → {Promise.<undefined>}
- Description:
- Task to to replace the copyright.
The following placeholders are replaced with corresponding values:
If the copyright string contains the optional placeholder ${currentYear}
it will be replaced with the current year.
If no copyright string is given, no replacement is being done.
- Source:
Parameters:
Name |
Type |
Description |
parameters |
object
|
Parameters
Properties
Name |
Type |
Description |
workspace |
@ui5/fs/DuplexCollection
|
DuplexCollection to read and write files |
options |
object
|
Options
Properties
Name |
Type |
Description |
copyright |
string
|
Replacement copyright |
pattern |
string
|
Pattern to locate the files to be processed |
|
|
Returns:
Promise resolving with undefined
once data has been written
-
Type
-
Promise.<undefined>