Fix FE license limitation of real_lines_of_code
Related issue link: https://jihulab.com/gitlab-cn/gitlab/-/issues/1581
What does this MR do and why?
Fix FE license limitation of real_lines_of_code
.
If users enables the feature flag lines_of_code
, but they doesn't have license permission of real_lines_of_code
,
them will see errors like NaN 行
NaN 有效行
.
The root reason is the checking of license key should have pushed to Gon variables, but not now.
ScreenShots
Before(Bug) | After(fixed) |
---|---|
cc EM @prajnamas