File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import _openConfig from './config/open';
99import { cfgPath , cfgDir } from './config/paths' ;
1010import notify from './notify' ;
1111import { getColorMap } from './utils/colors' ;
12+ import { resolvePlatformConfig } from './utils/resolve-platform-config' ;
1213
1314const watchers : Function [ ] = [ ] ;
1415let cfg : parsedConfig = { } as any ;
@@ -76,8 +77,9 @@ export const subscribe = (fn: Function) => {
7677 } ;
7778} ;
7879
80+ export { resolvePlatformConfig } from './utils/resolve-platform-config' ;
81+
7982export const getConfigDir = ( ) => {
80- // expose config directory to load plugin from the right place
8183 return cfgDir ;
8284} ;
8385
@@ -104,7 +106,7 @@ export const getProfileConfig = (profileName: string): configOptions => {
104106 baseConfig [ key ] = profileConfig [ key ] ;
105107 }
106108 }
107- return { ...baseConfig , defaultProfile, profiles} ;
109+ return resolvePlatformConfig ( { ...baseConfig , defaultProfile, profiles} ) ;
108110} ;
109111
110112export const openConfig = ( ) => {
You can’t perform that action at this time.
0 commit comments