File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
Next (not yet released)
2
2
3
3
* Updated parser to allow parsing of CSS3 keyframes
4
+ * Fixed error where Rhino CLI could not read directories (fixes #106)
4
5
5
6
July 5, 2011 - v0.4.0
6
7
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ function getFiles(dir) {
15
15
var dirList = dir . listFiles ( ) ;
16
16
dirList . forEach ( function ( file ) {
17
17
if ( / \. c s s $ / . test ( file ) ) {
18
- files . push ( file ) ;
18
+ files . push ( file . toString ( ) ) ;
19
19
} else if ( file . isDirectory ( ) ) {
20
20
traverse ( file ) ;
21
21
}
@@ -52,7 +52,7 @@ while(arg){
52
52
53
53
//see if it's a directory or a file
54
54
if ( curFile . isDirectory ( ) ) {
55
- files = files . concat ( getFiles ( arg ) ) ;
55
+ files = files . concat ( getFiles ( curFile ) ) ;
56
56
} else {
57
57
files . push ( arg ) ;
58
58
}
You can’t perform that action at this time.
0 commit comments