Skip to content

Commit 3f731e3

Browse files
committed
refactor(@angular/cli): Replace call to getPaths with two calls to get
1 parent d12ff23 commit 3f731e3

File tree

1 file changed

+4
-3
lines changed
  • packages/@angular/cli/commands

1 file changed

+4
-3
lines changed

packages/@angular/cli/commands/test.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ import { CliConfig } from '../models/config';
44
import { oneLine } from 'common-tags';
55

66
const config = CliConfig.fromProject() || CliConfig.fromGlobal();
7-
const testConfigDefaults = config.getPaths('defaults.build', [
8-
'progress', 'poll'
9-
]);
7+
const testConfigDefaults = {
8+
progress: config.get('defaults.build.progress'),
9+
poll: config.get('defaults.build.poll')
10+
};
1011

1112
export interface TestOptions {
1213
watch?: boolean;

0 commit comments

Comments
 (0)