summaryrefslogtreecommitdiff
path: root/school/node_modules/graphql/jsutils/invariant.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'school/node_modules/graphql/jsutils/invariant.mjs')
-rw-r--r--school/node_modules/graphql/jsutils/invariant.mjs7
1 files changed, 0 insertions, 7 deletions
diff --git a/school/node_modules/graphql/jsutils/invariant.mjs b/school/node_modules/graphql/jsutils/invariant.mjs
deleted file mode 100644
index f1aa4a6..0000000
--- a/school/node_modules/graphql/jsutils/invariant.mjs
+++ /dev/null
@@ -1,7 +0,0 @@
-export default function invariant(condition, message) {
- var booleanCondition = Boolean(condition); // istanbul ignore else (See transformation done in './resources/inlineInvariant.js')
-
- if (!booleanCondition) {
- throw new Error(message != null ? message : 'Unexpected invariant triggered.');
- }
-}