@tolgee/cli
Advanced tools
Comparing version 2.3.1 to 2.3.2
@@ -8,2 +8,3 @@ import { fileURLToPath } from 'url'; | ||
import { createDeferred } from '../utils/deferred.js'; | ||
const FILE_TIME_LIMIT = 60 * 1000; // one minute | ||
const IS_TS_NODE = extname(import.meta.url) === '.ts'; | ||
@@ -58,4 +59,4 @@ // --- Worker functions | ||
worker.terminate(); | ||
currentDeferred.reject(new Error('aborted')); | ||
}, 10e3); | ||
currentDeferred.reject(new Error(`Time limit for parsing ${job[0].file} exceeded`)); | ||
}, FILE_TIME_LIMIT); | ||
} | ||
@@ -62,0 +63,0 @@ worker.on('message', (msg) => { |
{ | ||
"name": "@tolgee/cli", | ||
"version": "2.3.1", | ||
"version": "2.3.2", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "A tool to interact with the Tolgee Platform through CLI", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
905733
4984