Input a file instead of a directory #67

Closed
croquiscom opened this Issue Sep 11, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@croquiscom

I want to run codo for some files, but it does not work.

$ codo app.coffee
Cannot parse file app.coffee: ENOENT, no such file or directory ''

I found walkdir only works for a directory

# for direcotry
coffee> walkdir.sync 'routes'
[ '/Users/sixmen/test/routes/index.coffee',
  '/Users/sixmen/test/routes/util.coffee' ]

# for file
coffee> walkdir.sync 'app.coffee'
[ 'app.coffee' ]
@netzpirat

This comment has been minimized.

Show comment Hide comment
@netzpirat

netzpirat Sep 11, 2012

Contributor

This is by design, but it's not a big deal to skip traversing of files.

Contributor

netzpirat commented Sep 11, 2012

This is by design, but it's not a big deal to skip traversing of files.

@netzpirat netzpirat closed this in e147d56 Sep 14, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment