File tree Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -55,15 +55,6 @@ describe('Settings', () => {
5555 assert . ok ( settings . stats ) ;
5656 } ) ;
5757
58- it ( 'should set the "throwErrorOnBrokenSymbolicLink" option to "true" when the "stats" option is enabled' , ( ) => {
59- const settings = new Settings ( {
60- stats : true
61- } ) ;
62-
63- assert . ok ( settings . stats ) ;
64- assert . ok ( settings . throwErrorOnBrokenSymbolicLink ) ;
65- } ) ;
66-
6758 it ( 'should return the `fs` option with custom method' , ( ) => {
6859 const customReaddirSync = ( ) => [ ] ;
6960
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ export default class Settings {
123123 public readonly onlyFiles : boolean = this . _getValue ( this . _options . onlyFiles , true ) ;
124124 public readonly stats : boolean = this . _getValue ( this . _options . stats , false ) ;
125125 public readonly suppressErrors : boolean = this . _getValue ( this . _options . suppressErrors , false ) ;
126- public readonly throwErrorOnBrokenSymbolicLink : boolean = this . stats && this . _getValue ( this . _options . throwErrorOnBrokenSymbolicLink , true ) ;
126+ public readonly throwErrorOnBrokenSymbolicLink : boolean = this . _getValue ( this . _options . throwErrorOnBrokenSymbolicLink , false ) ;
127127 public readonly unique : boolean = this . _getValue ( this . _options . unique , true ) ;
128128
129129 constructor ( private readonly _options : Options = { } ) {
You can’t perform that action at this time.
0 commit comments