Skip to content

Commit

Permalink
remove unnecessary check
Browse files Browse the repository at this point in the history
  • Loading branch information
nikgraf committed Sep 21, 2017
1 parent 3ea4f5b commit 2bafab8
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/plugins/platform/platform.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,6 @@ class Platform {
return BbPromise.resolve();
}

if (authToken && authToken.length > 8000) {
this.serverless.cli.log('Your serverless login has expired');
this.serverless.cli.log('Please run `serverless login` again');
return BbPromise.resolve();
}

this.serverless.cli.log('Publish service to Serverless Platform...');

const clientWithAuth = createApolloClient(config.GRAPHQL_ENDPOINT_URL, authToken);
Expand Down

0 comments on commit 2bafab8

Please sign in to comment.