Files I've added
This still won't work, still a WIP
This commit is contained in:
15
scripts/check-webapp.js
Executable file
15
scripts/check-webapp.js
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
const fs = require('fs').promises;
|
||||
|
||||
async function main() {
|
||||
try {
|
||||
const webappDir = await fs.opendir('webapp');
|
||||
return 0;
|
||||
} catch (e) {
|
||||
console.log("No 'webapp' directory found. Run 'yarn run fetch' or symlink manually");
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
main().then((ret) => process.exit(ret));
|
||||
Reference in New Issue
Block a user