frontend-maven-plugin
frontend-maven-plugin copied to clipboard
isYarnrcYamlFilePresent bug
Do you want to request a feature or report a bug? Report a bug
What is the current behavior?
On com.github.eirslett.maven.plugins.frontend.mojo.InstallNodeAndYarnMojo
isYarnrcYamlFilePresent() doesn't take in account the installDirectory and workingDirectory from the AbstractFrontendMojo
If the current behavior is a bug, please provide the steps to reproduce.
Use the
<configuration> <installDirectory>installdir</installDirectory> <workingDirectory>workingdir</workingDirectory> </configuration>
What is the expected behavior?
isYarnrcYamlFilePresent() should check if the YARNRC_YAML_FILE_NAME exists under the working directory mentionned in configuration.workingDirectory.
Please mention your frontend-maven-plugin and operating system version. frontend-maven-plugin : 1.12.1 operating system version : Windows 11