Skip to content

Commit 32dfde1

Browse files
authored
Merge pull request #14 from DouglasNeuroInformatics/dev
fix: forgot to remove tmp hardcoded outfile
2 parents f5de846 + 89e4b94 commit 32dfde1

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/cli/libnest-build.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import * as path from 'node:path';
21
import * as process from 'node:process';
32

43
import { Command } from 'commander';
@@ -12,10 +11,7 @@ program.action(async function () {
1211
if (!configFile) {
1312
return program.error(`error: environment variable 'LIBNEST_CONFIG_FILEPATH' must be defined`);
1413
}
15-
await bundle({
16-
configFile,
17-
outfile: path.resolve(import.meta.dirname, '../../build/server.js')
18-
}).mapErr((error) => {
14+
await bundle({ configFile }).mapErr((error) => {
1915
program.error(error.toString(), { exitCode: 1 });
2016
});
2117
});

0 commit comments

Comments
 (0)