Skip to content

Commit 468ee25

Browse files
エラーメッセージの修正。
1 parent cd860ef commit 468ee25

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dConnectDevicePlugin/dConnectDeviceHost/dConnectDeviceHost/Classes/profile/DPHostFileProfile.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ - (instancetype)init
169169
BOOL isExtension = ([dstNewPath pathExtension] && [dstNewPath pathExtension].length > 0)?YES:NO;
170170
if (![sysFileMgr fileExistsAtPath:dstNewPath isDirectory:&isDirectory]
171171
&& !isExtension && !isDirectory) { //拡張子がない存在しないファイルが指定された場合
172-
[response setErrorToInvalidRequestParameterWithMessage:@"NewPath not exist."];
172+
[response setErrorToInvalidRequestParameterWithMessage:@"NewPath has unsupported filename extension."];
173173
return YES;
174174
} else if ([sysFileMgr fileExistsAtPath:dstNewPath isDirectory:&isDirectory]
175175
&& ![[dstNewPath pathExtension] isEqualToString:@""] && !forceOverwrite) {

0 commit comments

Comments
 (0)