Skip to content

@ui5/builder/tasks/escapeNonAsciiCharacters

Methods

(static) default(parameters) → {Promise<undefined>}

Description: Task to escape non ascii characters in properties files resources.

Source: builder/lib/tasks/escapeNonAsciiCharacters.js, line 8

Parameters:
NameTypeDescription
parametersobjectParameters
Properties:
NameTypeAttributesDescription
workspace@ui5/fs/DuplexCollectionDuplexCollection to read and write files
changedProjectResourcePathsArray<string>optionalSet of changed resource paths within the project.
This is only set if a cache is used and changes have been detected.
optionsobjectOptions
Properties
NameTypeDescription
patternstringGlob pattern to locate the files to be processed
encodingstringsource file encoding either "UTF-8" or "ISO-8859-1"
Returns:

Promise resolving with undefined once data has been written

Type: Promise<undefined>