Skip to content

Commit ee24095

Browse files
authored
Merge pull request botpress#71 from jonbaer/master
Path fix for bot install (local installs)
2 parents 82049a5 + a342329 commit ee24095

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ module.exports = (logger, projectLocation, dataLocation) => {
225225
let prefix = ''
226226

227227
if (basename !== name) {
228-
prefix = name.substr(0, name.length - basename.length)
228+
prefix = name.substr(0, name.length - basename.length - 1)
229229
}
230230

231231
if (basename.replace(/botpress-?/i, '').length === 0) {

0 commit comments

Comments
 (0)