Skip to content

Commit

Permalink
fix: handle bash path as empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
bryan-hoang committed Apr 21, 2024
1 parent 199c795 commit 4b5d6f2
Show file tree
Hide file tree
Showing 7 changed files with 206 additions and 61 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
NEXT_PUBLIC_BASE_PATH=''
NEXT_PUBLIC_BASE_PATH=
6 changes: 5 additions & 1 deletion biome.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
"linter": {
"enabled": true,
"rules": {
"recommended": true
"recommended": true,
"correctness": {
"noUnusedImports": "error",
"noUnusedVariables": "error"
}
}
},
"vcs": {
Expand Down
2 changes: 2 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ dotenv.config({
override: true,
});

debug(`BASE_PATH: ${process.env.NEXT_PUBLIC_BASE_PATH}`);

const EnvSchema = object({
NEXT_PUBLIC_BASE_PATH: string(),
});
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"debug": "4.3.4",
"interweave": "13.1.0",
"interweave-ssr": "2.0.0",
"next": "14.2.2",
"next": "14.1.4",
"ofetch": "1.3.4",
"react": "18.2.0",
"react-dom": "18.2.0",
Expand All @@ -40,6 +40,7 @@
"stylelint": "16.3.1",
"stylelint-config-standard": "36.0.0",
"tailwindcss": "^3.4.3",
"taze": "0.13.6",
"typescript": "^5.4.5"
},
"packageManager": "[email protected]+sha256.caa915eaae9d9aefccf50ee8aeda25a2f8684d8f9d5c6e367eaf176d97c1f89e"
Expand Down

0 comments on commit 4b5d6f2

Please sign in to comment.