diff options
Diffstat (limited to 'src/doc_reform/source/read_config_files.d')
-rw-r--r-- | src/doc_reform/source/read_config_files.d | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/doc_reform/source/read_config_files.d b/src/doc_reform/source/read_config_files.d index 96f604b..93f8a35 100644 --- a/src/doc_reform/source/read_config_files.d +++ b/src/doc_reform/source/read_config_files.d @@ -20,7 +20,7 @@ static template configReadInSiteSTR() { writeln("WARNING (io debug) in config possible path locations: ", possible_config_path_locations); } foreach(pth; possible_config_path_locations) { - auto conf_file = asNormalizedPath(chainPath(pth.to!string, conf_toml)).array; + auto conf_file = ((chainPath(pth.to!string, conf_toml)).asNormalizedPath).array; if (config_file_str.length > 0) { break; } @@ -55,7 +55,7 @@ static template configReadInDocSTR() { writeln("WARNING (io debug) in config possible path locations: ", possible_config_path_locations); } foreach(pth; possible_config_path_locations) { - auto conf_file = asNormalizedPath(chainPath(pth.to!string, conf_toml)).array; + auto conf_file = ((chainPath(pth.to!string, conf_toml)).asNormalizedPath).array; if (config_file_str.length > 0) { break; } @@ -109,7 +109,7 @@ static template readConfigSite() { string[] possible_config_path_locations = _conf_file_details.possible_config_path_locations.config_local_site; foreach(conf_fn; [_conf_file_details.config_filename_site]) { foreach(pth; possible_config_path_locations) { - char[] conf_file = asNormalizedPath(chainPath(pth.to!string, conf_fn)).array; + char[] conf_file = ((chainPath(pth.to!string, conf_fn)).asNormalizedPath).array; conf_filename = conf_fn; if (config_file_str.length > 0) { // conf_filename = conf_fn; @@ -166,7 +166,7 @@ static template readConfigDoc() { string[] possible_config_path_locations = _conf_file_details.possible_config_path_locations.dr_document_make; foreach(conf_fn; [_conf_file_details.config_filename_document]) { foreach(pth; possible_config_path_locations) { - auto conf_file = asNormalizedPath(chainPath(pth.to!string, conf_fn)).array; + auto conf_file = ((chainPath(pth.to!string, conf_fn)).asNormalizedPath).array; conf_filename = conf_fn; if (config_file_str.length > 0) { // conf_filename = conf_fn; |