Skip to content

Commit f372620

Browse files
committed
fix: Remove old usage of HOST_PARENT_PATH
1 parent 062f0fe commit f372620

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

.devcontainer/compose.mounts.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
version: '3.7'
22
services:
33
app:
4-
#volumes:
4+
volumes:
55
# # Add local mounts here
6-
# - /home/myUser/homelab:/filesOnServer
6+
- /home/foxx/code/komodo-import/example:/filesOnServer

docsite/src/components/QuickStart/QSCompose.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const QSCompose = (props) => {
6060
const seq = modifiedDoc.getIn(['services','komodo-import','environment']) as YAMLSeq;
6161

6262

63-
const hostS = new Scalar(`HOST_PARENT_PATH=${hostPath}`);
63+
const hostS = new Scalar(`HOST_DIR=${hostPath}`);
6464
hostS.commentBefore = `# Same as mounted directory above`
6565
seq.add(hostS);
6666

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"docs:install": "cd docsite && npm ci --no-audit",
1515
"docs:start": "cd docsite && npm start",
1616
"docs:build": "cd docsite && npm run build",
17-
"demo": "HOST_PARENT_PATH=/my/cool/path SERVER_NAME=my-cool-server FILES_ON_SERVER_DIR=tests/exampleDir tsx src/index.ts"
17+
"demo": "HOST_DIR=/my/cool/path SERVER_NAME=my-cool-server FILES_ON_SERVER_DIR=tests/exampleDir tsx src/index.ts"
1818
},
1919
"engines": {
2020
"node": ">=18.19.1",

src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,7 @@ try {
9494
}
9595

9696
const filesOnServerConfig: FilesOnServerConfig = {
97-
...importOptions,
98-
hostParentPath: process.env.HOST_PARENT_PATH
97+
...importOptions
9998
};
10099

101100
const stackBuilder = new StackBuilder(filesOnServerConfig, dirData[1], logger);

0 commit comments

Comments
 (0)