summaryrefslogtreecommitdiff
path: root/school/node_modules/graphql/jsutils/invariant.js
diff options
context:
space:
mode:
Diffstat (limited to 'school/node_modules/graphql/jsutils/invariant.js')
-rw-r--r--school/node_modules/graphql/jsutils/invariant.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/school/node_modules/graphql/jsutils/invariant.js b/school/node_modules/graphql/jsutils/invariant.js
deleted file mode 100644
index 2e9e16b..0000000
--- a/school/node_modules/graphql/jsutils/invariant.js
+++ /dev/null
@@ -1,14 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports.default = invariant;
-
-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.');
- }
-}