Unverified Commit 7e594f6c authored by yann300's avatar yann300 Committed by GitHub

Merge pull request #904 from ethereum/fix-empty

Fix saving of empty content
parents 07fffb84 e64b08a3
......@@ -528,7 +528,7 @@ class FileManager extends Plugin {
var currentFile = this._deps.config.get('currentFile')
if (currentFile && this.editor.current()) {
var input = this.editor.get(currentFile)
if (input) {
if ((input !== null) && (input !== undefined)) {
var provider = this.fileProviderOf(currentFile)
if (provider) {
provider.set(currentFile, input)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment