File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -873,7 +873,7 @@ def _validate(self):
873873 if not os .access (directory , os .W_OK ):
874874 raise ValueError ( f'The given output directory { directory } is not writable' )
875875 if not basename :
876- raise ValueError (f'Please add an output file name, only an output directory { directory } was specified' )
876+ raise ValueError (f'Please add an output file name, only an output directory { self . out_file } was specified' )
877877 if 'json' in self .out_file_type and os .path .exists (f'{ self .out_file } .json' ) and not os .access (f'{ self .out_file } .json' , os .W_OK ):
878878 raise ValueError (f'The given output file { self .out_file } .json exists, but is not writable' )
879879 if 'yaml' in self .out_file_type and os .path .exists (f'{ self .out_file } .yaml' ) and not os .access (f'{ self .out_file } .yaml' , os .W_OK ):
You can’t perform that action at this time.
0 commit comments