verifyIsWebProject function

void verifyIsWebProject()

Implementation

void verifyIsWebProject() {
  final rootPath = Directory.current.path;

  final checkWebProjectExist = Directory('$rootPath/web').existsSync();

  if (!checkWebProjectExist) {
    throw UnimplementedError('The project does not contain the web folder');
  }
}