From d47e7cfaa74e33b7459082ce5abdbf3a46468769 Mon Sep 17 00:00:00 2001 From: Mihail Stoykov Date: Mon, 24 Jun 2024 11:36:21 +0300 Subject: [PATCH] fix linter --- js/compiler/compiler.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/js/compiler/compiler.go b/js/compiler/compiler.go index 233dd44b9b7..857878f3404 100644 --- a/js/compiler/compiler.go +++ b/js/compiler/compiler.go @@ -255,8 +255,10 @@ func (c *Compiler) compileImpl( prg, code, err = c.compileImpl(code, filename, wrap, lib.CompatibilityModeBase, state.srcMap) if err == nil && strings.Contains(src, "module.exports") { c.logger.Warningf( - "During the compilation of %q, it has been detected that the file combines ECMAScript modules (ESM) import/export syntax with commonJS module.exports. "+ - "Mixing these two module systems is non-standard and will not be supported anymore in future releases. Please ensure to solely one or the other syntax.", + "During the compilation of %q, it has been detected that the file combines ECMAScript modules (ESM) "+ + "import/export syntax with commonJS module.exports. "+ + "Mixing these two module systems is non-standard and will not be supported anymore in future releases. "+ + "Please ensure to solely one or the other syntax.", filename) } return prg, code, err