Commit d0f14d1b authored by Tim Neutkens's avatar Tim Neutkens

Address feedback from @lukesandberg

parent 25f52b48
...@@ -118,8 +118,5 @@ export function logExperimentalInfo({ ...@@ -118,8 +118,5 @@ export function logExperimentalInfo({
*/ */
export function getEnvInfo(dir: string): string[] { export function getEnvInfo(dir: string): string[] {
const { loadedEnvFiles } = loadEnvConfig(dir, true, console, false) const { loadedEnvFiles } = loadEnvConfig(dir, true, console, false)
if (loadedEnvFiles.length > 0) { return loadedEnvFiles.map((f) => f.path)
return loadedEnvFiles.map((f) => f.path)
}
return []
} }
...@@ -105,7 +105,7 @@ export async function initialize(opts: { ...@@ -105,7 +105,7 @@ export async function initialize(opts: {
{ {
silent: false, silent: false,
reportExperimentalFeatures(features) { reportExperimentalFeatures(features) {
experimentalFeatures = features.sort(({ key: a }, { key: b }) => experimentalFeatures = features.toSorted(({ key: a }, { key: b }) =>
a.localeCompare(b) a.localeCompare(b)
) )
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment