File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
lib/node_modules/@stdlib/assert/is-relative-path/bin Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ var readFileSync = require( '@stdlib/fs/read-file' ).sync;
88var CLI = require ( '@stdlib/tools/cli' ) ;
99var stdin = require ( '@stdlib/utils/read-stdin' ) ;
1010var 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 ) {
You can’t perform that action at this time.
0 commit comments