Cleanup helper scripts. Closes #7
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
const fs = require('fs');
|
||||
const { execSync } = require('child_process');
|
||||
|
||||
try {
|
||||
const output = execSync('git log -p -3 src/main.cpp', { cwd: 'm:/Nextcloud/IoT/esp32s3-wiji' });
|
||||
fs.writeFileSync('m:/Nextcloud/IoT/esp32s3-wiji/git_history.txt', output);
|
||||
console.log('Success');
|
||||
} catch (e) {
|
||||
console.log('Error', e.message);
|
||||
}
|
||||
Reference in New Issue
Block a user