Skip to content

Commit

Permalink
[fix] path.existsSync was moved to fs.existsSync
Browse files Browse the repository at this point in the history
  • Loading branch information
blakmatrix committed Jul 7, 2012
1 parent 9e2e7bb commit d4a059a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cakefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ compile = (includeTests, cb) ->

task 'clean', 'clean lib folder', ->
console.log 'Cleaning'
if path.existsSync 'lib'
if fs.existsSync 'lib'
for file in fs.readdirSync 'lib'
fs.unlinkSync path.join('lib', file)
fs.rmdirSync 'lib'
Expand Down

0 comments on commit d4a059a

Please sign in to comment.