File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -241,6 +241,13 @@ class FindFilesBase(FactBase):
241241 def process (output ):
242242 return output
243243
244+ def command (self , path , quote_path = True ):
245+ return make_formatted_string_command (
246+ 'find {0} -type {type_flag} || true' ,
247+ QuoteString (path ) if quote_path else path ,
248+ type_flag = self .type_flag ,
249+ )
250+
244251
245252class FindFiles (FindFilesBase ):
246253 '''
@@ -249,13 +256,6 @@ class FindFiles(FindFilesBase):
249256
250257 type_flag = 'f'
251258
252- def command (self , path , quote_path = True ):
253- return make_formatted_string_command (
254- 'find {0} -type {type_flag} || true' ,
255- QuoteString (path ) if quote_path else path ,
256- type_flag = self .type_flag ,
257- )
258-
259259
260260class FindLinks (FindFilesBase ):
261261 '''
You can’t perform that action at this time.
0 commit comments