langs a-z
This commit is contained in:
parent
db842d013d
commit
d066446780
11389 changed files with 98361 additions and 1020 deletions
|
|
@ -1,7 +0,0 @@
|
|||
fs = require 'fs'
|
||||
|
||||
is_empty_dir = (dir) ->
|
||||
throw Error "#{dir} is not a dir" unless fs.statSync(dir).isDirectory()
|
||||
# readdirSync does not return . or ..
|
||||
fns = fs.readdirSync dir
|
||||
fns.length == 0
|
||||
Loading…
Add table
Add a link
Reference in a new issue