Fixed import
This commit is contained in:
parent
90835a3e83
commit
dcae06fdb0
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "unitfile-parser",
|
"name": "unitfile-parser",
|
||||||
"version": "1.0.3",
|
"version": "1.0.4",
|
||||||
"description": "Parse systemd unit files",
|
"description": "Parse systemd unit files",
|
||||||
"main": "./src/mod.mjs",
|
"main": "./src/mod.mjs",
|
||||||
"exports": "./src/mod.mjs",
|
"exports": "./src/mod.mjs",
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import stringToAst from "./string-to-ast.mjs";
|
import stringToAst from "./string-to-ast.mjs";
|
||||||
import astToData from "./astToData.mjs";
|
import astToData from "./ast-to-data.mjs";
|
||||||
|
|
||||||
export default function stringToData(data) {
|
export default function stringToData(data) {
|
||||||
return astToData(stringToAst(data));
|
return astToData(stringToAst(data));
|
||||||
|
|
Loading…
Reference in a new issue