diff --git a/src/FileConventions/Config.fs b/src/FileConventions/Config.fs index 50d1801c9..58f739e52 100644 --- a/src/FileConventions/Config.fs +++ b/src/FileConventions/Config.fs @@ -1,5 +1,5 @@ module Config -let fantomlessToolVersion = "4.7.997-prerelease" -let prettierVersion = "2.8.3" -let pluginXmlVersion = "v2.2.0" +let FantomlessToolVersion = "4.7.997-prerelease" +let PrettierVersion = "2.8.3" +let PluginXmlVersion = "v2.2.0" diff --git a/src/FileConventions/Library.fs b/src/FileConventions/Library.fs index ffad450c7..1ea9e5d47 100644 --- a/src/FileConventions/Library.fs +++ b/src/FileConventions/Library.fs @@ -387,7 +387,7 @@ let NonVerboseFlags(fileInfo: FileInfo) = let StyleFSharpFiles(rootDir: DirectoryInfo) = - InstallFantomlessTool fantomlessToolVersion + InstallFantomlessTool FantomlessToolVersion Process .Execute( @@ -413,15 +413,15 @@ let StyleCSharpFiles(rootDir: DirectoryInfo) = |> ignore let StyleXamlFiles() = - InstallPrettier prettierVersion - InstallPrettierPluginXml pluginXmlVersion + InstallPrettier PrettierVersion + InstallPrettierPluginXml PluginXmlVersion Process .Execute( { Command = "npm" Arguments = - $"install --save-dev prettier@{prettierVersion} @prettier/plugin-xml@{pluginXmlVersion}" + $"install --save-dev prettier@{PrettierVersion} @prettier/plugin-xml@{PluginXmlVersion}" }, Echo.Off ) @@ -450,7 +450,7 @@ let StyleXamlFiles() = |> ignore let StyleTypeScriptFiles() = - InstallPrettier prettierVersion + InstallPrettier PrettierVersion let pattern = $"{Directory.GetCurrentDirectory()}{Path.DirectorySeparatorChar}**{Path.DirectorySeparatorChar}*.ts" @@ -458,7 +458,7 @@ let StyleTypeScriptFiles() = RunPrettier $"--quote-props=consistent --write {pattern}" let StyleYmlFiles() = - InstallPrettier prettierVersion + InstallPrettier PrettierVersion let pattern = $"{Directory.GetCurrentDirectory()}{Path.DirectorySeparatorChar}**{Path.DirectorySeparatorChar}*.yml"