Skip to content

Commit

Permalink
fix: fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
hoonoh committed Dec 7, 2020
1 parent f615c23 commit 92e447f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/lib/core.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import mockConsole, { RestoreConsole } from 'jest-mock-console';
import { filter } from 'lodash';
import nock from 'nock';
import { stdout } from 'process';

import { mockAwsCredentials, mockAwsCredentialsClear } from '../../test/mock-credential-endpoints';
import {
Expand Down
6 changes: 2 additions & 4 deletions src/lib/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,8 @@ const getEc2SpotPrice = async (options: {
retryMS = retryMS ? retryMS * 2 : 200;
await new Promise(res => setTimeout(res, retryMS));
return describeSpotPriceHistory();
} else {
throw error;
}
throw error;
}
};

Expand Down Expand Up @@ -184,9 +183,8 @@ export const getEc2Info = async ({
retryMS = retryMS ? retryMS * 2 : 200;
await new Promise(res => setTimeout(res, retryMS));
return describeInstanceTypes();
} else {
throw error;
}
throw error;
}
};

Expand Down

0 comments on commit 92e447f

Please sign in to comment.