Move TODO to a better place

This commit is contained in:
Juan Cruz Viotti 2014-11-18 12:20:37 -04:00
parent 24f50fa5ec
commit 5109bba302
2 changed files with 3 additions and 2 deletions

View File

@ -33,8 +33,6 @@ program
.description('Show a list of your apps')
.action(app.list)
# TODO: Check if not running on UNIX environment
# and add a custom path accordingly
data.prefix.set config.dataPrefix, (error) ->
throw error if error?
program.parse(process.argv)

View File

@ -7,6 +7,9 @@ config =
# TODO: Should be configurable
remoteUrl: 'https://staging.resin.io'
apiPrefix: '/ewa/'
# TODO: Check if not running on UNIX environment
# and add a custom path accordingly
dataPrefix: path.join(process.env.HOME, '.resin')
config.urls =