diff --git a/src/util.ts b/src/util.ts index 5994a2b8..e0ab5c49 100644 --- a/src/util.ts +++ b/src/util.ts @@ -52,7 +52,7 @@ export const hasRequiredParameters = (action: ActionInterface): void => { ) } - if (!existsSync(action.folder)) { + if (!existsSync(action.folder) && action.folder !== action.root) { throw new Error( `The ${action.folder} directory you're trying to deploy doesn't exist. ❗` )