Skip to content

Commit

Permalink
fix: remove inspect.defaultOptions.depth
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed Jul 22, 2019
1 parent 4b05ddb commit 281f992
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/services/getPodResourceSpecification.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ import type {
HttpClientType
} from '../types';

require('util').inspect.defaultOptions.depth = null;

export default async (httpClient: HttpClientType, serviceUrl: string, podNamespace: string, podName: string): Promise<PodResourceSpecificationType> => {
const podSpecification = await httpClient(serviceUrl + '/api/v1/namespaces/' + podNamespace + '/pods/' + podName);

Expand Down
5 changes: 4 additions & 1 deletion test/.eslintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"extends": [
"canonical/ava"
]
],
"rules": {
"ava/no-import-test-files": 0
}
}

0 comments on commit 281f992

Please sign in to comment.