Skip to content

Commit 9e56f81

Browse files
committed
Auto-generated commit
1 parent 8d7aa6c commit 9e56f81

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/.keepalive

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2022-10-01T01:35:10.869Z

docs/types/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import dirname = require( './index' );
2626
dirname( './foo/bar/index.js' ); // $ExpectType string
2727
}
2828

29-
// The function does not compile if provided a value other than a string...
29+
// The compiler throws an error if the function is provided a value other than a string...
3030
{
3131
dirname( true ); // $ExpectError
3232
dirname( false ); // $ExpectError

lib/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232

3333
// MODULES //
3434

35-
var dirname = require( './main.js' );
35+
var main = require( './main.js' );
3636

3737

3838
// EXPORTS //
3939

40-
module.exports = dirname;
40+
module.exports = main;

0 commit comments

Comments
 (0)