typo
This commit is contained in:
parent
8bacc35bf2
commit
92d96f6604
|
@ -281,7 +281,7 @@ module Middleman
|
||||||
def path_to_source_file(path, directory, type, destination_dir)
|
def path_to_source_file(path, directory, type, destination_dir)
|
||||||
types = Set.new([type])
|
types = Set.new([type])
|
||||||
types << :no_frontmatter unless @frontmatter
|
types << :no_frontmatter unless @frontmatter
|
||||||
types << :@binary if @binary
|
types << :binary if @binary
|
||||||
|
|
||||||
relative_path = path.relative_path_from(directory)
|
relative_path = path.relative_path_from(directory)
|
||||||
relative_path = File.join(destination_dir, relative_path) if destination_dir
|
relative_path = File.join(destination_dir, relative_path) if destination_dir
|
||||||
|
|
Loading…
Reference in a new issue