aboutsummaryrefslogtreecommitdiffstats
path: root/auto_source.js
diff options
context:
space:
mode:
Diffstat (limited to 'auto_source.js')
-rw-r--r--auto_source.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/auto_source.js b/auto_source.js
index 2054808..f98696f 100644
--- a/auto_source.js
+++ b/auto_source.js
@@ -121,9 +121,10 @@ let INFO = xml`
(files = files.filter(function (it) (!(it.path.indexOf(filepath) === 0 && func(it)+'-'))));
function expandPath (filepath) {
- function normalize (filepath)
- let (file = io.File(filepath))
- (file.normalize(), file.path);
+ function normalize (filepath) {
+ let file = io.File(filepath);
+ return (file.normalize(), file.path);
+ }
filepath = io.expandPath(filepath);
if (filepath.match(/\/|\w:[\\\/]/))