figma-api-stub
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -30,2 +30,5 @@ "use strict"; | ||
} | ||
if (joinedConfig.simulateErrors && !item) { | ||
throw new Error("Error: empty child"); | ||
} | ||
if (joinedConfig.simulateErrors && | ||
@@ -44,2 +47,5 @@ // @ts-ignore | ||
} | ||
if (joinedConfig.simulateErrors && !child) { | ||
throw new Error("Error: empty child"); | ||
} | ||
// @ts-ignore | ||
@@ -46,0 +52,0 @@ if (joinedConfig.simulateErrors && child.parent === this) { |
{ | ||
"name": "figma-api-stub", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "Figma API stub", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
Sorry, the diff of this file is not supported yet
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
34716
816