Skip to content

Commit 80f57ea

Browse files
committed
Fix notification for save file to azure notification
1 parent b9704a9 commit 80f57ea

File tree

1 file changed

+2
-2
lines changed
  • PluginsAndFeatures/azure-toolkit-for-intellij/src/com/microsoft/intellij/helpers

1 file changed

+2
-2
lines changed

PluginsAndFeatures/azure-toolkit-for-intellij/src/com/microsoft/intellij/helpers/IDEHelperImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ private void saveFileToAzure(final AppServiceFile appServiceFile, final String c
517517
}
518518
if (toSave) {
519519
appService.uploadFileToPath(content, appServiceFile.getPath());
520-
PluginUtil.showInfoNotification(APP_SERVICE_FILE_EDITING, String.format(FILE_HAS_BEEN_SAVED, appServiceFile));
520+
PluginUtil.showInfoNotification(APP_SERVICE_FILE_EDITING, String.format(FILE_HAS_BEEN_SAVED, appServiceFile.getName()));
521521
}
522522
}));
523523
}
@@ -545,7 +545,7 @@ private void saveFileToAzure(final AppServiceFileLegacy appServiceFile, final St
545545
}
546546
if (toSave) {
547547
fileService.uploadFileToPath(content, appServiceFile.getPath());
548-
PluginUtil.showInfoNotification(APP_SERVICE_FILE_EDITING, String.format(FILE_HAS_BEEN_SAVED, appServiceFile));
548+
PluginUtil.showInfoNotification(APP_SERVICE_FILE_EDITING, String.format(FILE_HAS_BEEN_SAVED, appServiceFile.getName()));
549549
}
550550
}));
551551
}

0 commit comments

Comments
 (0)