Address review comments

This commit is contained in:
Edd
2022-04-11 14:54:10 +01:00
parent 62944b89cd
commit 0e13248bee
2 changed files with 2 additions and 7 deletions
+2 -3
View File
@@ -4,6 +4,8 @@
* Runs the fleek deploy process based on nx:affected, but only for sites
* that have a .fleek.json file
*/
const { existsSync } = require('fs');
const { execSync } = require('child_process');
// Fleek CLI requires this variable to be set
if (!process.env['FLEEK_API_KEY']) {
@@ -11,9 +13,6 @@ if (!process.env['FLEEK_API_KEY']) {
process.exit(1);
}
const { existsSync } = require('fs');
const { execSync } = require('child_process');
// The folder containing NX projects
const projectPath = './apps/';
// The Fleek project file, the existence indicates a deployed app