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):
241
241
def process (output ):
242
242
return output
243
243
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
+
244
251
245
252
class FindFiles (FindFilesBase ):
246
253
'''
@@ -249,13 +256,6 @@ class FindFiles(FindFilesBase):
249
256
250
257
type_flag = 'f'
251
258
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
-
259
259
260
260
class FindLinks (FindFilesBase ):
261
261
'''
You can’t perform that action at this time.
0 commit comments