Skip to content

StringHelper: typo in method name FormatEnvirnomentVariables — missing 'o' #139

@Christophe-Rogiers

Description

@Christophe-Rogiers

Bug Description

The method FormatEnvirnomentVariables in StringHelper has a typo — "Envirnoment" instead of "Environment" (missing 'o'). The method is actively used in MainViewModel.cs, so this typo propagates to the call site as well.

Actual Behavior

// StringHelper.cs
public static string FormatEnvirnomentVariables(string input)
//                          ^^^^^^^^^^^ typo: should be "Environment"

// MainViewModel.cs (caller)
StringHelper.FormatEnvirnomentVariables(...)

Suggested Fix

Rename to FormatEnvironmentVariables and update all call sites:

public static string FormatEnvironmentVariables(string input)

Environment

  • File: src/Servy.Core/Helpers/StringHelper.cs
  • Caller: src/Servy/ViewModels/MainViewModel.cs

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions