Skip to content

Commit

Permalink
Fix PowerShell#1040: Remote non-PowerShell files are not saved to server
Browse files Browse the repository at this point in the history
  • Loading branch information
daviwil committed Oct 26, 2017
1 parent f070e35 commit 9b48889
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/features/RemoteFiles.ts
Expand Up @@ -58,8 +58,7 @@ export class RemoteFilesFeature implements IFeature {
}

private isDocumentRemote(doc: vscode.TextDocument) {
return doc.languageId === "powershell" &&
doc.fileName.toLowerCase().startsWith(this.tempSessionPathPrefix);
return doc.fileName.toLowerCase().startsWith(this.tempSessionPathPrefix);
}

private closeRemoteFiles() {
Expand Down

0 comments on commit 9b48889

Please sign in to comment.