Skip to content

Commit 9e08e3c

Browse files
author
nicola
committed
use current working directory on fileBase
1 parent 7197ce3 commit 9e08e3c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎options.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function params(argv) {
1414
opts.aclSuffix = argv.aclSuffix || ",acl";
1515
opts.uriBase = argv.uriBase ||
1616
'http://localhost:3000' + process.cwd() + '/test/';
17-
opts.fileBase = argv.fileBase || process.cwd() + '/test/';
17+
opts.fileBase = argv.fileBase || process.cwd();
1818
if (!(S(opts.fileBase).endsWith('/'))) {
1919
opts.fileBase += '/';
2020
}
@@ -49,7 +49,7 @@ function params(argv) {
4949

5050
// TODO this should be an attribute of an object
5151
opts.usedURIs = {};
52-
52+
5353
debug("URI path filter regexp: " + opts.pathFilter);
5454
debug("Verbose: " + !!opts.verbose);
5555
debug("Live: " + !!opts.live);

0 commit comments

Comments
 (0)