validateMorphemeYaml static method
Implementation
static void validateMorphemeYaml([String? morphemeYaml]) {
if (!exists(join(current, 'morpheme.yaml')) && morphemeYaml == null) {
StatusHelper.failed(
'You don\'t have "morpheme.yaml" in root apps, make sure to "morpheme init" first');
} else if (morphemeYaml != null && !exists(morphemeYaml)) {
StatusHelper.failed(
'Not found custom path morpheme.yaml in "$morphemeYaml"');
}
}