eienmojiki commited on
Commit
961cbb4
·
verified ·
1 Parent(s): ecfa390

Update sync-notes.js

Browse files
Files changed (1) hide show
  1. 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, '.data');
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) => {