From 8d83f270cfe958c9738daad5ba93e893e63c43f2 Mon Sep 17 00:00:00 2001 From: Dirk Baeumer Date: Wed, 8 Feb 2017 12:03:33 +0100 Subject: [PATCH] Fixes #175: Mark rootPath as optional --- protocol.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/protocol.md b/protocol.md index e9bf958..8f39caf 100644 --- a/protocol.md +++ b/protocol.md @@ -593,11 +593,12 @@ interface InitializeParams { * * @deprecated in favour of rootUri. */ - rootPath: string | null; + rootPath?: string | null; /** * The rootUri of the workspace. Is null if no - * folder is open. + * folder is open. If both `rootPath` and `rootUri` are set + * `rootUri` wins. */ rootUri: DocumentUri | null;