Skip to content

Commit

Permalink
chore: Remove redundant import of ElectronPlatformName (#4398)
Browse files Browse the repository at this point in the history
  • Loading branch information
ffflorian authored and develar committed Nov 27, 2019
1 parent 15e66a7 commit e068d5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/app-builder-lib/src/electron/ElectronFramework.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Lazy } from "lazy-val"
import * as path from "path"
import { Configuration } from "../configuration"
import { BeforeCopyExtraFilesOptions, Framework, PrepareApplicationStageDirectoryOptions } from "../Framework"
import { ElectronPlatformName, Packager, Platform } from "../index"
import { Packager, Platform } from "../index"
import { LinuxPackager } from "../linuxPackager"
import MacPackager from "../macPackager"
import { isSafeToUnpackElectronOnRemoteBuildServer } from "../platformPackager"
Expand Down Expand Up @@ -188,4 +188,4 @@ function cleanupAfterUnpack(prepareOptions: PrepareApplicationStageDirectoryOpti
isFullCleanup ? unlinkIfExists(path.join(out, "version")) : Promise.resolve(),
isMac ? Promise.resolve() : rename(path.join(out, "LICENSE"), path.join(out, "LICENSE.electron.txt")).catch(() => {/* ignore */}),
])
}
}

0 comments on commit e068d5e

Please sign in to comment.