Skip to content

Commit d0755da

Browse files
committed
Fix linting issues in plan output functionality
- Remove extra blank line in TestTerragruntPlanAllOutput function - Add proper spacing in unit.go to resolve wsl cuddling violations
1 parent dc489ee commit d0755da

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

internal/runner/common/unit.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ func (unit *Unit) getPlanFilePath(l log.Logger, opts *options.TerragruntOptions,
9595
if err != nil {
9696
wdir = opts.WorkingDir
9797
}
98+
9899
path, err := filepath.Rel(wdir, unit.Path)
99100
if err != nil {
100101
l.Warnf("Failed to get relative path for %s: %v", unit.Path, err)

test/integration_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4261,7 +4261,6 @@ func TestVersionIsInvokedInDifferentDirectory(t *testing.T) {
42614261
}
42624262

42634263
func TestTerragruntPlanAllOutput(t *testing.T) {
4264-
42654264
helpers.CleanupTerraformFolder(t, testFixturePlanOutput)
42664265
tmpEnvPath := helpers.CopyEnvironment(t, testFixturePlanOutput)
42674266

0 commit comments

Comments
 (0)