run eslint --fix .
This commit is contained in:
parent
011eddf97a
commit
0832ae57f5
10 changed files with 259 additions and 263 deletions
|
|
@ -1,9 +1,9 @@
|
|||
// check if running the latest version
|
||||
|
||||
import {log} from 'console';
|
||||
import { log } from 'console';
|
||||
import { exec } from 'child_process';
|
||||
|
||||
const execp = (cmd) => new Promise((resolve, reject) => {
|
||||
const execp = cmd => new Promise((resolve, reject) => {
|
||||
exec(cmd, (error, stdout, stderr) => {
|
||||
if (stderr) console.error(`stderr: ${stderr}`);
|
||||
// if (stdout) console.log(`stdout: ${stdout}`);
|
||||
|
|
@ -35,8 +35,8 @@ if (process.env.NOVNC_PORT) {
|
|||
}
|
||||
|
||||
const gh = await (await fetch('https://api.github.com/repos/vogler/free-games-claimer/commits/main', {
|
||||
// headers: { accept: 'application/vnd.github.VERSION.sha' }
|
||||
})).json();
|
||||
// headers: { accept: 'application/vnd.github.VERSION.sha' }
|
||||
})).json();
|
||||
// log(gh);
|
||||
|
||||
log('Local commit:', sha, new Date(date));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue