Fix util to download into ts folder

This commit is contained in:
junderw 2019-03-26 11:32:36 +09:00
parent 9f805dfd82
commit 6dedef08d4
No known key found for this signature in database
GPG Key ID: B256185D3A971908
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ function toJSON (content) {
}
function save (name, wordlist) {
var location = path.join(__dirname, '..', 'wordlists', name + '.json')
var location = path.join(__dirname, '..', 'ts_src', 'wordlists', name + '.json')
var content = JSON.stringify(wordlist, null, 2) + '\n'
log('save ' + wordlist.length + ' words to ' + location)