Skip to content

Commit fedca41

Browse files
committed
install: remove unused trim() function
1 parent c4bb689 commit fedca41

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lib/install.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -386,9 +386,3 @@ function install (gyp, argv, callback) {
386386
}
387387

388388
}
389-
390-
391-
install.trim = function trim (file) {
392-
var firstSlash = file.indexOf('/')
393-
return file.substring(firstSlash + 1)
394-
}

0 commit comments

Comments
 (0)