Skip to content

Commit

Permalink
update path
Browse files Browse the repository at this point in the history
  • Loading branch information
zhgchgli0718 committed Jun 16, 2022
1 parent be918ce commit 8005598
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ZMediumToMarkdown.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Gem::Specification.new do |gem|
gem.files = Dir['lib/**/*.*']
gem.executables = ['ZMediumToMarkdown']
gem.name = 'ZMediumToMarkdown'
gem.version = '1.7.9'
gem.version = '1.8.0'

gem.license = "MIT"

Expand Down
2 changes: 1 addition & 1 deletion ZMediumToMarkdown_Github.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Gem::Specification.new do |gem|
gem.files = Dir['lib/**/*.*']
gem.executables = ['ZMediumToMarkdown']
gem.name = 'zmediumtomarkdown'
gem.version = '1.7.8'
gem.version = '1.8.0'

gem.license = "MIT"

Expand Down
4 changes: 2 additions & 2 deletions lib/ZMediumFetcher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,10 @@ def downloadPost(postURL, pathPolicy)
end

if isForJekyll
postPathPolicy = PathPolicy.new(pathPolicy.getAbsolutePath(nil), "_posts")
postPathPolicy = PathPolicy.new(pathPolicy.getAbsolutePath(nil), "_posts/zmediumtomarkdown")
imagePathPolicy = PathPolicy.new(pathPolicy.getAbsolutePath(nil), "assets")
else
postPathPolicy = PathPolicy.new(pathPolicy.getAbsolutePath(nil), "posts")
postPathPolicy = PathPolicy.new(pathPolicy.getAbsolutePath(nil), "zmediumtomarkdown")
imagePathPolicy = PathPolicy.new(postPathPolicy.getAbsolutePath(nil), "assets")
end

Expand Down

0 comments on commit 8005598

Please sign in to comment.