Skip to content

Commit

Permalink
refactor(plugin-auto-unpack-natives): clean up plugin impl
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshallOfSound committed Nov 24, 2018
1 parent 6bc6500 commit a05e2dc
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,8 @@ import { ForgeConfig } from '@electron-forge/shared-types';
import { AutoUnpackNativesConfig } from './Config';

export default class AutoUnpackNativesPlugin extends PluginBase<AutoUnpackNativesConfig> {
private dir!: string;
private cachedGlob: Promise<string> | null = null;
name = 'auto-unpack-natives';

init(dir: string) {
this.dir = dir;
}

getHook(hookName: string) {
if (hookName === 'resolveForgeConfig') {
return this.resolveForgeConfig;
Expand Down

0 comments on commit a05e2dc

Please sign in to comment.