File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 258
258
259
259
(defun terraform--get-resource-provider-source (provider &optional dir )
260
260
" Return Terraform provider source for PROVIDER located in DIR.
261
- Terraform provider source is searched in ' required_provider' declaration
261
+ Terraform provider source is searched in ` required_provider' declaration
262
262
in current buffer or in other Terraform files located in the same directory
263
263
of the file of current buffer. If still not found, the provider source is
264
- searched by running command ' terraform providers'.
264
+ searched by running command ` terraform providers'.
265
265
The DIR parameter is optional and used only for tests."
266
266
(goto-char (point-min ))
267
267
; ; find current directory if it's not specified in arguments
@@ -285,7 +285,8 @@ The DIR parameter is optional and used only for tests."
285
285
provider-source))
286
286
287
287
(defun terraform--get-resource-provider-source-in-buffer (provider )
288
- " Search and return provider namespace for PROVIDER in current buffer. Return nil if not found."
288
+ " Search and return provider namespace for PROVIDER in current buffer.
289
+ Return nil if not found."
289
290
(goto-char (point-min ))
290
291
(if (and (re-search-forward " ^terraform[[:blank:]]*{" nil t )
291
292
(re-search-forward " ^[[:blank:]]*required_providers[[:blank:]]*{" nil t )
You can’t perform that action at this time.
0 commit comments