|
|
|
@ -98,7 +98,7 @@ public class VcsHelper implements JTemplateActionListener {
|
|
|
|
|
@Override |
|
|
|
|
public void on(Event event, Workspace param) { |
|
|
|
|
try { |
|
|
|
|
root = WorkContext.getCurrent().isRoot() || WorkContext.getCurrent().isLocal(); |
|
|
|
|
root = WorkContext.getCurrent().isLocal() || WorkContext.getCurrent().isRoot() ; |
|
|
|
|
} catch (Exception e) { |
|
|
|
|
root = false; |
|
|
|
|
FineLoggerFactory.getLogger().error("[VcsHelper] get root failed", e.getMessage()); |
|
|
|
|