Skip to content
This repository was archived by the owner on Nov 21, 2024. It is now read-only.

Commit bc293c2

Browse files
committed
fix(commands): Fix detect folder of rucken
1 parent 1c4a90f commit bc293c2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/bin/app.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ export class App {
7474
let binPath: string;
7575
if (cwdPackage.name === this.package.name) {
7676
binPath = 'node .';
77-
}/*
77+
}
7878
if (fsExtra.existsSync(path.resolve(process.cwd() + '/node_modules/' + this.package.name + '/bin/' + binNames[0]))) {
7979
binPath = 'node ./node_modules/' + this.package.name + '/bin/' + binNames[0];
80-
}*/
80+
}
8181
if (!binPath) {
8282
binPath = 'node ' + binNames[0];
8383
}

0 commit comments

Comments
 (0)