Toggle navigation
Toggle navigation
This project
Loading...
Sign in
성준영
/
klas-file-downloader
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
성준영
2017-04-04 02:48:06 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9c6ad16f1b820c3d176a4d32edac90ec5e2aa6a4
9c6ad16f
1 parent
d2a2c0d5
download folder directory fixed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
index.js
index.js
View file @
9c6ad16
...
...
@@ -38,12 +38,12 @@ functions.login(flags.id, flags.pw)
})
.
then
(
function
(
selectedFile
)
{
//
var path;
//
if (!flags.downloadPath) {
//
path = os.homedir() + '/downloads/klasFileDownloader'
//
} else {
//
path = flags.downloadPath;
//
}
var
path
;
if
(
!
flags
.
downloadPath
)
{
path
=
os
.
homedir
()
+
'/downloads/klasFileDownloader'
}
else
{
path
=
flags
.
downloadPath
;
}
//
// if (path[path.length - 1] === '/') {
// path = path.substr(0, path.length - 1);
...
...
Please
register
or
login
to post a comment