@tolgee/cli
Advanced tools
Comparing version 2.1.2 to 2.1.3
@@ -24,4 +24,4 @@ import { cosmiconfig, defaultLoaders } from 'cosmiconfig'; | ||
if (rc.projectId !== undefined) { | ||
const projectId = Number(rc.projectId); // Number("") returns 0 | ||
if (!Number.isInteger(projectId) || projectId <= 0) { | ||
rc.projectId = Number(rc.projectId); // Number("") returns 0 | ||
if (!Number.isInteger(rc.projectId) || rc.projectId <= 0) { | ||
throw new Error('Invalid config: projectId should be an integer representing your project Id'); | ||
@@ -28,0 +28,0 @@ } |
{ | ||
"name": "@tolgee/cli", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"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
900609