Skip to content

Commit

Permalink
fix: type mismatch after merge (#7490)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhockett authored Jun 9, 2021
1 parent a3b7d3e commit b4266a5
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ const aws = require('./aws');
import { $TSAny, $TSContext } from 'amplify-cli-core';
import { Lambda as AwsSdkLambda } from 'aws-sdk';
import { LayerVersionsListItem, ListLayerVersionsRequest, ListLayerVersionsResponse } from 'aws-sdk/clients/lambda';
import { loadConfiguration } from '../configuration-manager';
import { AwsSdkConfig } from '../utils/auth-types';
import { AwsSecrets, loadConfiguration } from '../configuration-manager';
import { fileLogger } from '../utils/aws-logger';
import { pagedAWSCall } from './paged-call';

Expand All @@ -14,7 +13,7 @@ export class Lambda {

constructor(private readonly context: $TSContext, options = {}) {
return (async () => {
let cred: AwsSdkConfig;
let cred: AwsSecrets;
try {
cred = await loadConfiguration(context);
} catch (e) {
Expand Down

0 comments on commit b4266a5

Please sign in to comment.