Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.

Commit 94ae76c

Browse files
authored
Merge pull request #31 from apiaryio/kylef/load
Fix loading API Elements as source
2 parents 4fa0403 + b78dd9b commit 94ae76c

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

Diff for: CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## 0.8.1
4+
5+
### Bug Fixes
6+
7+
- Fixes an exception being raised when trying to pass API Elements document to
8+
Fury CLI as source.
9+
310
## 0.8.0
411

512
### Enhancements

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "fury-cli",
3-
"version": "0.8.0",
3+
"version": "0.8.1",
44
"description": "Command line tool interface for Fury.js",
55
"bin": {
66
"fury": "lib/fury.js"

Diff for: src/fury.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class FuryCLI {
7777
}
7878

7979
if (isRefract(source)) {
80-
const result = fury.minim.deserialise(JSON.parse(source));
80+
const result = fury.load(JSON.parse(source));
8181
this.handleResult(result, source);
8282
return;
8383
}

0 commit comments

Comments
 (0)