diff options
-rw-r--r-- | action.yml | 2 | ||||
-rw-r--r-- | generate_json.js | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -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); |