File tree Expand file tree Collapse file tree
lib/node_modules/@stdlib/fs/resolve-parent-path Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ opts = {
8989 ' dir' : __dirname
9090};
9191
92- // Sync / /
92+ /* Sync * /
9393
9494out = resolveParentPath .sync ( ' package.json' , opts );
9595// returns '...'
@@ -98,7 +98,7 @@ out = resolveParentPath.sync( 'non_existent_basename' );
9898// returns null
9999
100100
101- // Async / /
101+ /* Async * /
102102
103103resolveParentPath ( ' package.json' , opts, onPath );
104104resolveParentPath ( ' ./../non_existent_path' , onPath );
Original file line number Diff line number Diff line change 99 'dir' : __dirname
1010} ;
1111
12- // Sync / /
12+ /* Sync * /
1313
1414out = resolveParentPath . sync ( 'package.json' , opts ) ;
1515console . log ( out ) ;
@@ -20,7 +20,7 @@ console.log( out );
2020// => null
2121
2222
23- // Async / /
23+ /* Async * /
2424
2525resolveParentPath ( 'package.json' , opts , onPath ) ;
2626resolveParentPath ( './../non_existent_path' , onPath ) ;
You can’t perform that action at this time.
0 commit comments