Skip to content

Commit 886496a

Browse files
committed
[minor] Clean up path.join
1 parent f642801 commit 886496a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
var fs = require('fs')
77
, path = require('path')
88
, spawn = require('cross-spawn')
9-
, hook = path.join(__dirname, './hook')
10-
, root = path.resolve(__dirname, '../..')
9+
, hook = path.join(__dirname, 'hook')
10+
, root = path.resolve(__dirname, '..', '..')
1111
, exists = fs.existsSync || path.existsSync;
1212

1313
//

0 commit comments

Comments
 (0)