Skip to content

Commit 699cd2d

Browse files
committed
feat: revert whitespace
1 parent 5759413 commit 699cd2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/ast/utilities.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2369,12 +2369,12 @@ func GetImpliedNodeFormatForEmitWorker(sourceFile *SourceFile, options *core.Com
23692369
}
23702370
if sourceFile.ImpliedNodeFormat == core.ModuleKindCommonJS &&
23712371
( /*sourceFile.packageJsonScope.contents.packageJsonContent.type == "commonjs" ||*/ // !!!
2372-
tspath.FileExtensionIsOneOf(sourceFile.FileName(), []string{tspath.ExtensionCjs, tspath.ExtensionCts})) {
2372+
tspath.FileExtensionIsOneOf(sourceFile.FileName(), []string{tspath.ExtensionCjs, tspath.ExtensionCts})) {
23732373
return core.ModuleKindCommonJS
23742374
}
23752375
if sourceFile.ImpliedNodeFormat == core.ModuleKindESNext &&
23762376
( /*sourceFile.packageJsonScope?.contents.packageJsonContent.type === "module" ||*/ // !!!
2377-
tspath.FileExtensionIsOneOf(sourceFile.fileName, []string{tspath.ExtensionMjs, tspath.ExtensionMts})) {
2377+
tspath.FileExtensionIsOneOf(sourceFile.fileName, []string{tspath.ExtensionMjs, tspath.ExtensionMts})) {
23782378
return core.ModuleKindESNext
23792379
}
23802380
return core.ModuleKindNone

0 commit comments

Comments
 (0)