Skip to content

Commit

Permalink
♻️ 不要なドキュメント参照の除去
Browse files Browse the repository at this point in the history
  • Loading branch information
wraith13 committed Jul 16, 2017
1 parent 295d303 commit 1631668
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1511,10 +1511,7 @@ module WandboxVSCode
async function newWandbox() : Promise<void>
{
var compilerName : string;
var document = WorkSpace.getActiveDocument();
var vscodeLang = document ? document.languageId: null;
var fileName = document ? document.fileName: null;
var language = await queryLanguageNameToUser(vscodeLang, fileName);
var language = await queryLanguageNameToUser();
if (language)
{
let compilerList = await getCompilerList(language);
Expand Down

0 comments on commit 1631668

Please sign in to comment.