X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=cli%2Factions.js;h=6f8faea3de72259668c8b0c5eb7f1cff3e72fed3;hb=e1d60ef0bec31269f32e0aebc24d3ade0f235c64;hp=8a8624e345d3354348c3834ed5b0bdbb818a3869;hpb=898fe7c8bb0b04eea2e91d92f275c95713e8ec79;p=perso%2FImmae%2FProjets%2FNodejs%2FSurfer.git 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) { if (!files || files.entries.length === 0) { console.log('No files on the server. Use %s to upload some.', 'surfer put '.yellow); } else { - console.log('Files:'); + console.log('Entries:'); files.entries.forEach(function (entry) { - console.log('\t %s', entry); + console.log('\t %s', entry.isDirectory ? entry.filePath + '/' : entry.filePath); }); } } else {