aboutsummaryrefslogtreecommitdiffhomepage
path: root/cli
diff options
context:
space:
mode:
authorJohannes Zellner <johannes@nebulon.de>2016-03-01 13:14:45 +0100
committerJohannes Zellner <johannes@nebulon.de>2016-03-01 13:14:45 +0100
commit130809800e6e3fa33e5fc207dd6e1d963231f2a9 (patch)
tree38a2d85256be90a4ae59bc4429c9a3f41bce66b1 /cli
parent898fe7c8bb0b04eea2e91d92f275c95713e8ec79 (diff)
downloadSurfer-130809800e6e3fa33e5fc207dd6e1d963231f2a9.tar.gz
Surfer-130809800e6e3fa33e5fc207dd6e1d963231f2a9.tar.zst
Surfer-130809800e6e3fa33e5fc207dd6e1d963231f2a9.zip
Send more folder listing details
Diffstat (limited to 'cli')
-rw-r--r--cli/actions.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/actions.js b/cli/actions.js
index 8a8624e..6f8faea 100644
--- a/cli/actions.js
+++ b/cli/actions.js
@@ -153,9 +153,9 @@ function get(filePath) {
153 if (!files || files.entries.length === 0) { 153 if (!files || files.entries.length === 0) {
154 console.log('No files on the server. Use %s to upload some.', 'surfer put <file>'.yellow); 154 console.log('No files on the server. Use %s to upload some.', 'surfer put <file>'.yellow);
155 } else { 155 } else {
156 console.log('Files:'); 156 console.log('Entries:');
157 files.entries.forEach(function (entry) { 157 files.entries.forEach(function (entry) {
158 console.log('\t %s', entry); 158 console.log('\t %s', entry.isDirectory ? entry.filePath + '/' : entry.filePath);
159 }); 159 });
160 } 160 }
161 } else { 161 } else {