File tree Expand file tree Collapse file tree 1 file changed +0
-32
lines changed Expand file tree Collapse file tree 1 file changed +0
-32
lines changed Original file line number Diff line number Diff line change @@ -25,38 +25,6 @@ pub struct Args {
2525 pub ( crate ) skip_unstable : bool ,
2626}
2727
28- impl Args {
29- /// specify the lerna tag
30- pub fn lerna ( & mut self ) -> & mut Args {
31- self . lerna = true ;
32- self
33- }
34-
35- /// set tag prefix filters
36- pub fn tag_prefix < P : AsRef < str > > ( & mut self , dir : P ) -> & mut Args {
37- self . tag_prefix = Some ( dir. as_ref ( ) . to_string ( ) ) ;
38- self
39- }
40-
41- /// set the package name filter
42- pub fn package_name < P : AsRef < str > > ( & mut self , dir : P ) -> & mut Args {
43- self . package = Some ( dir. as_ref ( ) . to_string ( ) ) ;
44- self
45- }
46-
47- /// set the current path where the command is run
48- pub fn current_dir < P : AsRef < str > > ( & mut self , dir : P ) -> & mut Args {
49- self . cwd = Some ( dir. as_ref ( ) . to_string ( ) ) ;
50- self
51- }
52-
53- /// ignore unstable labels
54- pub fn skip_unstable ( & mut self ) -> & mut Args {
55- self . skip_unstable = true ;
56- self
57- }
58- }
59-
6028#[ cfg( test) ]
6129mod tests {
6230 use super :: * ;
You can’t perform that action at this time.
0 commit comments