Skip to content

Commit

Permalink
fix(all): CWD in Windows now working.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigorodriguez committed Feb 24, 2023
1 parent b96cde8 commit 6721c3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boot.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ console.debug(`botserver@${pjson.version}, botlib@${pjson.dependencies.botlib},
var now = () => {
return new Date().toISOString().replace(/T/, ' ').replace(/\..+/, '') + ' UTC';
};
var __dirname = process.env.PWD;
var __dirname = process.env.PWD || process.cwd();
try {
var run = () => {
import('./dist/src/app.js').then((gb)=> gb.GBServer.run());
Expand Down

0 comments on commit 6721c3d

Please sign in to comment.