sheetlink 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sheetlink",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "CLI for SheetLink — sync your bank transactions to any destination",
5
5
  "type": "module",
6
6
  "bin": {
@@ -76,8 +76,8 @@ export async function cmdSync(options) {
76
76
  }
77
77
 
78
78
  if (output.startsWith('sqlite://')) {
79
- // sqlite:///absolute/path or sqlite://relative/path
80
- const dbPath = output.replace(/^sqlite:\/\/\/?/, '') || './sheetlink.db';
79
+ // sqlite:///absolute/path /absolute/path, sqlite://relative/path → relative/path
80
+ const dbPath = output.replace(/^sqlite:\/\//, '') || './sheetlink.db';
81
81
  writeSQLite(allTransactions, allAccounts, dbPath);
82
82
  return;
83
83
  }