diff options
author | Bjørn Erik Pedersen <[email protected]> | 2024-04-08 18:28:04 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2024-04-08 18:28:04 +0200 |
commit | 92de8625c7f122343059e98c62d1049e27bb2573 (patch) | |
tree | 0d8fdaa7eb0139f15ce3500a553cff42737091c1 /resources/resource_transformers | |
parent | 7907935a423b2a788afc7c68f6b6419efa70cc7b (diff) | |
download | hugo-92de8625c7f122343059e98c62d1049e27bb2573.tar.gz hugo-92de8625c7f122343059e98c62d1049e27bb2573.zip |
babel: Run go fmt
Diffstat (limited to 'resources/resource_transformers')
-rw-r--r-- | resources/resource_transformers/babel/babel.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/resource_transformers/babel/babel.go b/resources/resource_transformers/babel/babel.go index 6a03f7b3b..e00969516 100644 --- a/resources/resource_transformers/babel/babel.go +++ b/resources/resource_transformers/babel/babel.go @@ -173,8 +173,8 @@ func (t *babelTransformation) Transform(ctx *resources.ResourceTransformationCtx cmdArgs = append(cmdArgs, hexec.WithEnviron(hugo.GetExecEnviron(t.rs.Cfg.BaseConfig().WorkingDir, t.rs.Cfg, t.rs.BaseFs.Assets.Fs))) defer func() { - compileOutput.Close() - os.Remove(compileOutput.Name()) + compileOutput.Close() + os.Remove(compileOutput.Name()) }() // ARGA [--no-install babel --config-file /private/var/folders/_g/j3j21hts4fn7__h04w2x8gb40000gn/T/hugo-test-babel812882892/babel.config.js --source-maps --filename=js/main2.js --out-file=/var/folders/_g/j3j21hts4fn7__h04w2x8gb40000gn/T/compileOut-2237820197.js] |