crowdin-cli 0.0.18 → 0.0.19

Sign up to get free protection for your applications and to get access to all the features.
data/bin/crowdin-cli CHANGED
@@ -508,17 +508,11 @@ EOS
508
508
  end
509
509
 
510
510
  if @config['base_path']
511
- if @config['base_path'].start_with?('/')
512
- @base_path = @config['base_path']
513
- else
514
- @base_path = Dir.pwd + '/' + @config['base_path']
515
- end
511
+ @base_path = @config['base_path']
516
512
  else
517
513
  @base_path = Dir.pwd
518
514
  puts <<EOS
519
- Warning: Configuration file misses optional section `base_path`.
520
- Set the working directory - `#{@base_path}`
521
-
515
+ Warning: Configuration misses parameter `base_path` that defines your project root directory. Using `#{@base_path}` as a root directory.
522
516
  EOS
523
517
  end
524
518
 
@@ -1,5 +1,5 @@
1
1
  module Crowdin
2
2
  module CLI
3
- VERSION = '0.0.18'
3
+ VERSION = '0.0.19'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crowdin-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.18
4
+ version: 0.0.19
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: