Gets the path where gsloth should write configuration files based on .gsloth directory existence.
The main difference from #getGslothConfigReadPath is that this getGslothConfigWritePath
method creates internal settings directory if it does not exist.
If .gsloth dir exists returns projectdir/.gsloth/.gsloth-settings
If .gsloth dir does not exist returns projectdir
Parameters
filename: string
The configuration filename
Returns string
The resolved path where the configuration file should be written
Gets the path where gsloth should write configuration files based on .gsloth directory existence. The main difference from #getGslothConfigReadPath is that this getGslothConfigWritePath method creates internal settings directory if it does not exist.
If .gsloth dir exists returns
projectdir/.gsloth/.gsloth-settings
If .gsloth dir does not exist returnsprojectdir