Skip to content

Commit 3a09a8b

Browse files
Ritish GumberRitish Gumber
Ritish Gumber
authored and
Ritish Gumber
committed
latest code pull
1 parent 6741f3f commit 3a09a8b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/.DS_Store

0 Bytes
Binary file not shown.

src/CloudFile.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ CB.CloudFile.prototype.save = function(callback) {
143143
}
144144

145145
var thisObj = this;
146-
147-
if (!this.fileObj && !this.data && this.type != 'folder')
146+
console.log('hi', this.url);
147+
if (!this.fileObj && !this.data && this.type != 'folder' && !this.url)
148148
throw "You cannot save a file which is null";
149149

150150
if (!this.data) {

0 commit comments

Comments
 (0)