Spaces:
Sleeping
Sleeping
Update sync-notes.js
Browse files- sync-notes.js +1 -1
sync-notes.js
CHANGED
@@ -2,7 +2,7 @@ const { exec } = require('child_process');
|
|
2 |
const path = require('path');
|
3 |
const cron = require('node-cron');
|
4 |
|
5 |
-
const WATCH_DIR = path.join(__dirname, '
|
6 |
|
7 |
function gitStatusHasChanges(callback) {
|
8 |
exec('git status --porcelain', { cwd: WATCH_DIR }, (err, stdout, stderr) => {
|
|
|
2 |
const path = require('path');
|
3 |
const cron = require('node-cron');
|
4 |
|
5 |
+
const WATCH_DIR = path.join(__dirname, 'notes');
|
6 |
|
7 |
function gitStatusHasChanges(callback) {
|
8 |
exec('git status --porcelain', { cwd: WATCH_DIR }, (err, stdout, stderr) => {
|