Skip to content

Commit c03fd58

Browse files
committed
fix runfile type
1 parent 6eb0041 commit c03fd58

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

support/runfile/completions.runfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@ require 'bashly'
33
summary 'Generate bash completions for bashly itself'
44

55
action do
6-
completely_yaml_oath = 'lib/bashly/completions/completely.yaml'
6+
completely_yaml_path = 'lib/bashly/completions/completely.yaml'
77
completions_script_path = 'lib/bashly/completions/bashly-completions.bash'
8-
gtx_path = "#{completely_yaml_oath}.gtx"
8+
gtx_path = "#{completely_yaml_path}.gtx"
99
template = File.read gtx_path
1010

1111
say "Reading GTX template from m`#{gtx_path}`"
1212
gtx = GTX.new template, filename: gtx_path
1313
completely_yaml = gtx.parse binding
1414

15-
say "Writing completely configuration to m`#{completely_yaml_oath}`"
16-
File.write completely_yaml_oath, completely_yaml
15+
say "Writing completely configuration to m`#{completely_yaml_path}`"
16+
File.write completely_yaml_path, completely_yaml
1717

1818
say "Saving completions script to m`#{completions_script_path}`"
19-
completions = Completely::Completions.load completely_yaml_oath
19+
completions = Completely::Completions.load completely_yaml_path
2020
File.write completions_script_path, completions.script
2121

2222
if compdir

0 commit comments

Comments
 (0)