@runeai/hermes
Advanced tools
Comparing version 1.1.1 to 1.1.2
{ | ||
"name": "@runeai/hermes", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Hermes provides utility functions that help automate the machine translation workflow. It doesn't perform any extraction for strings to be translated, handle resolving human & machine translations, nor logic for when files should be committed.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -14,3 +14,3 @@ const { SourceFiles } = require("@crowdin/crowdin-api-client") | ||
.listProjectFiles(projectId) | ||
.then(resp => resp.data.find(file => file.data.name === name)) | ||
.then(resp => resp.data.find(file => file.data.path === `/${name}`)) | ||
.then(file => { | ||
@@ -17,0 +17,0 @@ if (!file) throw new Error("File not found") |
19479