Skip to content

Commit

Permalink
Merge pull request #154 from jmohundro89/master
Browse files Browse the repository at this point in the history
Fixes #153
  • Loading branch information
tlivings authored Sep 30, 2019
2 parents e11bb82 + 4e222e1 commit c26247a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const stripVendorExtensions = function (obj) {
const requireApi = function (path) {
let document;

if (path.match(/\.yaml?/)) {
if (path.match(/\.ya?ml?/)) {
const file = Fs.readFileSync(path);
document = Yaml.load(file);
}
Expand Down

0 comments on commit c26247a

Please sign in to comment.