aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--action.yml2
-rw-r--r--generate_json.js1
2 files changed, 2 insertions, 1 deletions
diff --git a/action.yml b/action.yml
index 688fc48..5901fb5 100644
--- a/action.yml
+++ b/action.yml
@@ -45,7 +45,7 @@ runs:
shell: bash
- name: Generate graphdata.json
working-directory: action
- run: npm run generate --script_params=../orgs/{{ inputs.org-roam-db-file }}
+ run: npm run generate --script_params=../orgs/${{ inputs.org-roam-db-file }}
shell: bash
- name: Create Notes
working-directory: action
diff --git a/generate_json.js b/generate_json.js
index be51cf0..d1e2701 100644
--- a/generate_json.js
+++ b/generate_json.js
@@ -1,3 +1,4 @@
+console.log("db file", process.argv[2]);
const sqlite3 = require('sqlite3').verbose();
const dbFile = process.argv[2];
const db = new sqlite3.Database(dbFile);