Skip to content

Commit

Permalink
tlib#cache#Filename: Removed check if a directory of the same name ex…
Browse files Browse the repository at this point in the history
…ists (due to inconsistent use)
  • Loading branch information
tomtom committed Nov 22, 2010
1 parent 12e10cc commit b19e0d1
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions autoload/tlib/cache.vim
Expand Up @@ -3,8 +3,8 @@
" @Website: http://www.vim.org/account/profile.php?user_id=4037
" @License: GPL (see http://www.gnu.org/licenses/gpl.txt)
" @Created: 2007-06-30.
" @Last Change: 2010-11-18.
" @Revision: 0.1.177
" @Last Change: 2010-11-22.
" @Revision: 0.1.181


" |tlib#cache#Purge()|: Remove cache files older than N days.
Expand Down Expand Up @@ -81,9 +81,6 @@ function! tlib#cache#Filename(type, ...) "{{{3
endtry
endif
let cache_file = tlib#file#Join([dir, file])
if isdirectory(cache_file)
echoerr 'TLib: Cannot create cache file because a directory of the same name exists (please delete it):' cache_file
endif
" TLogVAR cache_file
return cache_file
endf
Expand Down

0 comments on commit b19e0d1

Please sign in to comment.