Revert
This commit is contained in:
parent
99fc77b678
commit
eec1af1f52
11 changed files with 107 additions and 880 deletions
|
@ -4,15 +4,11 @@ async function main(uri: string): Promise<any> {
|
|||
return await updateQuestion(uri);
|
||||
}
|
||||
|
||||
export default () => {
|
||||
const args = process.argv.slice(3);
|
||||
const uri = args[0];
|
||||
const args = process.argv.slice(2);
|
||||
const uri = args[0];
|
||||
|
||||
main(uri).then(result => {
|
||||
console.log(`Done: ${result}`);
|
||||
process.exit(0);
|
||||
}).catch(e => {
|
||||
console.warn(e);
|
||||
process.exit(1);
|
||||
});
|
||||
}
|
||||
main(uri).then(result => {
|
||||
console.log(`Done: ${result}`);
|
||||
}).catch(e => {
|
||||
console.warn(e);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue