We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6741f3f commit 3a09a8bCopy full SHA for 3a09a8b
dist/.DS_Store
0 Bytes
src/CloudFile.js
@@ -143,8 +143,8 @@ CB.CloudFile.prototype.save = function(callback) {
143
}
144
145
var thisObj = this;
146
-
147
- if (!this.fileObj && !this.data && this.type != 'folder')
+ console.log('hi', this.url);
+ if (!this.fileObj && !this.data && this.type != 'folder' && !this.url)
148
throw "You cannot save a file which is null";
149
150
if (!this.data) {
0 commit comments