diff --git a/.versions b/.versions index cdc425d3..d8c3d911 100644 --- a/.versions +++ b/.versions @@ -32,7 +32,7 @@ minimongo@1.0.8 mongo@1.1.0 observe-sequence@1.0.6 ordered-dict@1.0.3 -ostrio:files@1.2.0 +ostrio:files@1.2.1 ostrio:jsextensions@0.0.4 random@1.0.3 reactive-dict@1.1.0 diff --git a/files.coffee b/files.coffee index 7a03369f..2840dd0a 100644 --- a/files.coffee +++ b/files.coffee @@ -626,7 +626,7 @@ class Meteor.Files if self.currentFile fileRef = if not version or version is 'original' then {path: self.currentFile.path, size: self.currentFile.size} else self.currentFile.versions[version] else - fileRef = falset + fileRef = false unless _.isObject(fileRef) and fs.existsSync fileRef.path if self.debug diff --git a/package.js b/package.js index 3b54c456..3314bd87 100644 --- a/package.js +++ b/package.js @@ -1,6 +1,6 @@ Package.describe({ name: 'ostrio:files', - version: '1.2.0', + version: '1.2.1', summary: 'Upload, Store and Download small and huge files to/from file system (FS) via DDP and HTTP', git: 'https://github.com/VeliovGroup/Meteor-Files', documentation: 'README.md'