Replaces the ${.} pattern in the directive value with the parent directory of the file containing the directive. Skips replacement if the pattern is preceded by two dollar signs ($$). https://github.com/VirtusLab/scala-cli/issues/1098
Replaces the ${.} pattern in the directive value with the parent directory of the file containing the directive. Skips replacement if the pattern is preceded by two dollar signs ($$). https://github.com/VirtusLab/scala-cli/issues/1098
Value parameters
directiveValue
the value of the directive, e.g., "-coverage-out:${.}" for example for the directive "//> using options "-coverage-out:${.}""
path
the file path from which the directive is read; replacement occurs only if the directive is from a local file
Attributes
Returns
the directive value with the ${.} pattern replaced by the parent directory, if applicable