Skip to content

Commit eb85c89

Browse files
committed
Fix copy-paste error
1 parent f6eeafb commit eb85c89

File tree

1 file changed

+4
-4
lines changed
  • lib/node_modules/@stdlib/assert/is-relative-path/bin

1 file changed

+4
-4
lines changed

lib/node_modules/@stdlib/assert/is-relative-path/bin/cli

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ var readFileSync = require( '@stdlib/fs/read-file' ).sync;
88
var CLI = require( '@stdlib/tools/cli' );
99
var stdin = require( '@stdlib/utils/read-stdin' );
1010
var RE_EOL = require( '@stdlib/regexp/eol' );
11-
var isAbsolutePath = require( './../lib' );
11+
var isRelativePath = require( './../lib' );
1212

1313

1414
// MAIN //
@@ -40,11 +40,11 @@ function main() {
4040
// Get any provided options:
4141
flags = cli.flags();
4242
if ( flags.platform === 'win32' ) {
43-
fun = isAbsolutePath.win32;
43+
fun = isRelativePath.win32;
4444
} else if ( flags.platform === 'posix' ) {
45-
fun = isAbsolutePath.posix;
45+
fun = isRelativePath.posix;
4646
} else {
47-
fun = isAbsolutePath;
47+
fun = isRelativePath;
4848
}
4949
// Check if we are receiving data from `stdin`...
5050
if ( !process.stdin.isTTY ) {

0 commit comments

Comments
 (0)