Commit a3b29d9f authored by Leo Iannacone's avatar Leo Iannacone

fix relative and absolute path on user_config file - closes #3

parent c5746445
......@@ -16,7 +16,10 @@ Parser = ->
if '-c' in args
if args.length < 2
help()
return args[args.indexOf('-c') + 1]
user_config = args[args.indexOf('-c') + 1]
if user_config[0] isnt '/'
user_config = process.cwd() + "/" + user_config
return path.normalize(user_config)
return null
if '-h' in args
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment