aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/source/paths_source.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2018-12-01 19:26:04 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2019-05-17 16:59:38 -0400
commitd0ec46764b6aa5fecf55760dc177c53411fcc735 (patch)
tree3d1217253edaaeccf0b45222596f6139d88ca557 /src/doc_reform/source/paths_source.d
parentjson type match, fix breakage caused by external change (diff)
0.3.3 org mode behavior
Diffstat (limited to 'src/doc_reform/source/paths_source.d')
-rw-r--r--src/doc_reform/source/paths_source.d8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/doc_reform/source/paths_source.d b/src/doc_reform/source/paths_source.d
index 70e2fc4..a6f3fc1 100644
--- a/src/doc_reform/source/paths_source.d
+++ b/src/doc_reform/source/paths_source.d
@@ -252,7 +252,7 @@ template PathMatters() {
assert(_dir == absolute_path_to_src
.match(rgx.src_base_parent_dir_name).captures["dir"]);
}
- if ((_opt_actions.debug_do)) {
+ if (_opt_actions.debug_do) {
writeln("--> (base_dir) ", _dir);
}
return _dir;
@@ -284,7 +284,7 @@ template PathMatters() {
} else {
_dir = asNormalizedPath(path_and_fn.chainPath("../../")).array;
}
- if ((_opt_actions.debug_do)) {
+ if (_opt_actions.debug_do) {
writeln("--> (base_dir_path) ", _dir);
}
return _dir;
@@ -330,7 +330,7 @@ template PathMatters() {
} else {
_dir = (absolute_path_to_src).match(rgx.src_base_parent_dir_name).captures["dir"];
}
- if ((_opt_actions.debug_do)) {
+ if (_opt_actions.debug_do) {
writeln("--> (base_parent_dir) ", _dir);
}
return _dir;
@@ -546,7 +546,7 @@ template DocReformPathsPods() {
mixin DocReformRgxInit;
static auto rgx = Rgx();
string _suffix = ".zip";
- auto DocReformPathsPods(Dm)(Dm doc_matters) {
+ auto DocReformPathsPods(M)(M doc_matters) {
string _base_dir_pod = (doc_matters.output_path.length > 0)
? doc_matters.output_path ~ "/pod"
: "/pod";