more correct unquote fix (IDEA-69584)

This commit is contained in:
Dmitry Jemerov
2011-08-04 17:03:09 +02:00
parent f4d5a23f32
commit c7482a6e1b
@@ -156,10 +156,10 @@ public class CommandLineProcessor {
}
}
else {
if (StringUtil.isQuotedString(arg)) {
arg = StringUtil.stripQuotesAroundValue(arg);
}
if (line != -1) {
if (StringUtil.isQuotedString(arg)) {
arg = StringUtil.stripQuotesAroundValue(arg);
}
final VirtualFile virtualFile = LocalFileSystem.getInstance().refreshAndFindFileByPath(arg);
if (virtualFile != null) {
lastOpenedProject = doOpenFile(virtualFile, line);