lib/knapsack_pro/config/env.rb in knapsack_pro-5.1.2 vs lib/knapsack_pro/config/env.rb in knapsack_pro-5.2.0
- old
+ new
@@ -65,10 +65,10 @@
end
def masked_user_seat
return unless user_seat
- user_seat.gsub(/(?<=\w{2})[a-zA-Z]/, "*")
+ KnapsackPro::MaskString.call(user_seat)
end
def test_file_pattern
ENV['KNAPSACK_PRO_TEST_FILE_PATTERN']
end