Skip to content
This repository has been archived by the owner on Dec 23, 2021. It is now read-only.

Commit

Permalink
Autosave file when deploying (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
vandyliu authored Mar 16, 2020
1 parent 3e79a62 commit 1a37f18
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -682,6 +682,8 @@ export async function activate(context: vscode.ExtensionContext) {
DialogResponses.MESSAGE_UNDERSTOOD
);
} else {
await fileSelectionService.getCurrentTextDocument().save();

utils.logToOutputChannel(
outChannel,
CONSTANTS.INFO.FILE_SELECTED(
Expand Down

0 comments on commit 1a37f18

Please sign in to comment.