Skip to content

Commit 319e0a8

Browse files
committed
fixed early return and shared import inside shared
1 parent cc03f3c commit 319e0a8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/database-setup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const lineToAdd = 'DATABASE_URL="postgresql://postgres:docker@localhost:5432/ner
55

66
if (!fs.existsSync(filePath)) {
77
fs.writeFileSync(filePath, lineToAdd, 'utf8');
8-
process.exit(0);
8+
return;
99
}
1010

1111
fs.readFile(filePath, 'utf8', (err, data) => {

src/shared/src/validate-wbs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* See the LICENSE file in the repository root folder for details.
44
*/
55

6-
import { ProjectGantt, WbsElementPreview, WbsNumber, WorkPackagePreview } from 'shared';
6+
import { ProjectGantt, WbsElementPreview, WbsNumber, WorkPackagePreview } from "./types/project-types.js";
77

88
/**
99
* Compares two wbs numbers in ascending order

0 commit comments

Comments
 (0)