Skip to content

Commit 4940d0d

Browse files
committed
chore(config): improve comments
1 parent 03fd87b commit 4940d0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/metro-config/src/loadConfig.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ function mergeConfig<T: $ReadOnly<InputConfigT>>(
154154
});
155155
}
156156

157-
// mergeConfig is public, we should try to keep its API stable
158-
// This trick is necessary to pass proper cwd to `populateSync`
157+
// `mergeConfig` is public, so we should try to keep its API stable
158+
// This trick is necessary to pass the proper cwd to the internal `populateSync` call
159159
const mergeConfigHooked = <T: $ReadOnly<InputConfigT>>(
160160
cwd: string,
161161
base: T,

0 commit comments

Comments
 (0)