We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0507456 commit 08ae6beCopy full SHA for 08ae6be
utils/path-join.js
@@ -2,7 +2,14 @@
2
3
'use strict';
4
5
-var util = require('util');
+var util = {
6
+ isString: function(arg) {
7
+ return typeof arg === 'string';
8
+ },
9
+ isObject: function(arg) {
10
+ return typeof arg === 'object' && arg !== null;
11
+ }
12
+};
13
14
// resolves . and .. elements in a path array with directory names there
15
// must be no slashes or device names (c:\) in the array
0 commit comments