mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-07 23:53:16 +00:00
Fix for press interpreting "." as "/"
This commit is contained in:
1 parent
0dd36b2275
commit
5f930ec840
1 file changed
+2
-2
+2
-2
@@ -59,8 +59,8 @@ function main(args)
|
||||
CPLogRegister(CPLogPrint);
|
||||
|
||||
// HACK: ensure trailing slashes for "relative" to work correctly
|
||||
var rootPath = FILE.path(options.args[0]).join("").absolute();
|
||||
var outputPath = FILE.path(options.args[1]).join("").absolute();
|
||||
var rootPath = FILE.path(options.args[0]).absolute().join("");
|
||||
var outputPath = FILE.path(options.args[1]).absolute().join("");
|
||||
|
||||
if (outputPath.exists()) {
|
||||
if (options.force) {
|
||||
|
||||
Reference in new issue
Block a user