diff --git a/lib/oto/commands/file/file.dart b/lib/oto/commands/file/file.dart index 4057df5..a9f86f9 100644 --- a/lib/oto/commands/file/file.dart +++ b/lib/oto/commands/file/file.dart @@ -78,7 +78,7 @@ class FileInfo extends Command { var map = {}; map['path'] = file.path; map['name'] = path.basename(file.path); - map['withoutExtentionName'] = path.withoutExtension(map['baseName']); + map['withoutExtentionName'] = path.withoutExtension(map['name']); map['extension'] = path.extension(file.path); map['symbolicPath'] = await file.resolveSymbolicLinks(); map['size'] = stat.size;