Skip to content

Commit

Permalink
added missing import
Browse files Browse the repository at this point in the history
  • Loading branch information
mattb-hippo committed May 2, 2024
1 parent b649708 commit 4343aeb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Contentful-Schema/utils/verify-space-capacity.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import contentful from 'contentful-management';
import core from '@actions/core';
import chalk from 'chalk';

const red = chalk.bold.red;
const managementToken = process.env.MANAGEMENT_TOKEN;
const spaceId = process.env.SPACE_ID;
const spaceCapacity = process.env.SPACE_CAPACITY;

const red = chalk.bold.red;

try {
if (!managementToken) throw new Error("Environment variable MANAGEMENT_TOKEN not set");
if (!spaceId) throw new Error("Environment variable SPACE_ID not set");
Expand Down

0 comments on commit 4343aeb

Please sign in to comment.