Skip to content

Commit

Permalink
Update write-config-defaults.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
mcansh authored Sep 21, 2022
1 parent 2fa2710 commit 68ef70b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export function writeConfigDefaults(configPath: string) {
if (typeof fullConfig.compilerOptions.moduleResolution === "undefined") {
fullConfig.compilerOptions.moduleResolution = "node";
config.compilerOptions.moduleResolution = "node";
suggestedChanges.push(
requiredChanges.push(
colors.blue("compilerOptions.moduleResolution") +
" was set to " +
colors.bold(`'node'`)
Expand All @@ -132,7 +132,7 @@ export function writeConfigDefaults(configPath: string) {
) {
config.compilerOptions.moduleResolution = "node";

suggestedChanges.push(
requiredChanges.push(
colors.blue("compilerOptions.moduleResolution") +
" was set to " +
colors.bold(`'node'`)
Expand Down

0 comments on commit 68ef70b

Please sign in to comment.