Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/bashly/concerns/renderable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def load_user_file(file, placeholder: true)
''
end

Settings.production? ? content : "#{view_marker path}\n#{content}"
Settings.enabled?(:view_markers) ? "#{view_marker path}\n#{content}" : content
end

# Returns a path to a file in the user's source_dir. The file argument
Expand Down
2 changes: 1 addition & 1 deletion lib/bashly/views/command/parse_requirements_while.gtx
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ end
>
> esac
> done

>
3 changes: 2 additions & 1 deletion lib/bashly/views/command/required_args_filter.gtx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ if required_args.any?
= render(:examples_on_error).indent 2
> exit 1
> fi
>
end

>
end
end
Loading