Skip to content

Commit aa563a7

Browse files
authored
Merge pull request #274 from posthtml/milestone-0.4.6
Milestone 0.4.6
2 parents b980d9b + 7e497a9 commit aa563a7

4 files changed

Lines changed: 13 additions & 2 deletions

File tree

changelog.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
<a name="0.4.6"></a>
2+
## <small>0.4.6 (2018-03-16)</small>
3+
4+
* 0.4.6 ([90cb619](https://github.com/posthtml/posthtml-cli/commit/90cb619))
5+
* fix: resolve config path, close #273 ([4dfa3e7](https://github.com/posthtml/posthtml-cli/commit/4dfa3e7)), closes [#273](https://github.com/posthtml/posthtml-cli/issues/273)
6+
* build: update changelog ([f4aa225](https://github.com/posthtml/posthtml-cli/commit/f4aa225))
7+
8+
9+
110
<a name="0.4.5"></a>
211
## <small>0.4.5 (2018-03-02)</small>
312

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "posthtml-cli",
3-
"version": "0.4.5",
3+
"version": "0.4.6",
44
"description": "CLI for posthtml",
55
"license": "MIT",
66
"repository": "posthtml/posthtml-cli",

src/cfg-resolve.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import path from 'path';
12
import getCff from 'get-cff';
23
import toCamelCase from 'to-camel-case';
34
import pathExists from 'path-exists';
@@ -7,6 +8,7 @@ export default (flags = {}) => new Promise(async resolve => {
78
let {config, use} = flags;
89

910
if (config) {
11+
config = path.resolve(config);
1012
config = await pathExists(config) ? await getCff(config) : {};
1113
}
1214

0 commit comments

Comments
 (0)