File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -197,18 +197,15 @@ mask = umask( 0, opts );
197197var lpad = require( '@stdlib/string/left-pad' );
198198var umask = require( '@stdlib/process/umask' );
199199
200- var mask;
201- var opts;
202-
203200// Print the process mask as an integer:
204- mask = umask();
201+ var mask = umask();
205202console.log( mask.toString() );
206203
207204// Print the process mask as an octal string:
208205console.log( lpad( mask.toString(), 4, '0' ) );
209206
210207// Print the process mask using symbolic notation:
211- opts = {
208+ var opts = {
212209 'symbolic': true
213210};
214211console.log( umask( opts ) );
Original file line number Diff line number Diff line change 2121var lpad = require ( '@stdlib/string/left-pad' ) ;
2222var umask = require ( './../lib' ) ;
2323
24- var mask ;
25- var opts ;
26-
2724// Print the process mask as an integer:
28- mask = umask ( ) ;
25+ var mask = umask ( ) ;
2926console . log ( mask . toString ( ) ) ;
3027
3128// Print the process mask as an octal string:
3229console . log ( lpad ( mask . toString ( ) , 4 , '0' ) ) ;
3330
3431// Print the process mask using symbolic notation:
35- opts = {
32+ var opts = {
3633 'symbolic' : true
3734} ;
3835console . log ( umask ( opts ) ) ;
You can’t perform that action at this time.
0 commit comments