@panthus/elm-xgettext 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -85,7 +85,7 @@ async function parse(inputs, output) {
|
|
|
85
85
|
for (const input of inputs) {
|
|
86
86
|
for await (const entry of fs.glob(input)) {
|
|
87
87
|
const content = await fs.readFile(entry, { encoding: "utf8" });
|
|
88
|
-
app.ports.parsePoFile.send({ content,
|
|
88
|
+
app.ports.parsePoFile.send({ content, path: entry });
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
} else if (extInput === ".elm") {
|