recognize 'none' values for editorconfig (WEB-18555)

This commit is contained in:
Dennis Ushakov
2017-08-29 12:27:57 +03:00
parent a609372444
commit 6293dccc2b
@@ -37,7 +37,8 @@ public class Utils {
public static String configValueForKey(List<OutPair> outPairs, String key) {
for (OutPair outPair : outPairs) {
if (outPair.getKey().equals(key)) {
return outPair.getVal();
String val = outPair.getVal();
return "none".equals(val) ? "" : val;
}
}
return "";