Skip to content

Commit 485effc

Browse files
committed
Add useCustomMailPaths config
1 parent fd7c04e commit 485effc

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
1+
<a name="1.0.2"></a>
2+
# 1.0.2 (2019-11-03)
3+
4+
### Features
5+
6+
* Add useCustomMailPaths config for specifying full path to mail
7+
18
<a name="1.0.1"></a>
2-
# 1.0.1 (2019-03-24)
9+
# 1.0.1 (2019-11-03)
310

411
### Features
512

src/Views/Base.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ class BaseRenderEngine {
9292
*
9393
*/
9494
_getViewsPath(view) {
95+
if (this.Config.useCustomMailPaths) return `${this.Config.views}/${view}`
96+
9597
const currentWorkingDirectory = process.cwd()
9698

9799
return Path.resolve(

0 commit comments

Comments
 (0)