Skip to content

Commit

Permalink
fix: rollback parsing base on filepath (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
oltodo authored Jun 8, 2021
1 parent 2d68635 commit d2823fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/parser.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use strict";

const { parseFile } = require("@nbazille/qml-parser");
const { parse } = require("@nbazille/qml-parser");

module.exports = (code, _, { filepath }) => {
return parseFile(filepath);
module.exports = (code) => {
return parse(code);
};

0 comments on commit d2823fa

Please sign in to comment.