ensureFolderExists method
Ensures the specified folder exists, relative to the project root.
Implementation
void ensureFolderExists(List<String> path) {
final modifiedPath = path.toList();
if(AFibD.config.isLibraryCommand && path.first == libFolder) {
modifiedPath.insert(1, srcFolder);
}
ensuredFolders.add(modifiedPath);
}