Skip to content

Commit

Permalink
fix: fix Config types and props
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Aug 8, 2021
1 parent 9529ba0 commit 9591692
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@ import * as apm from "./apm"
import Command from "./command"

export default class Config extends Command {
private atomDirectory = apm.getAtomDirectory()
private atomNpmPath = require.resolve("npm/bin/npm-cli")
private atomNodeDirectory: string
constructor() {
super()
const atomDirectory = apm.getAtomDirectory()
this.atomNodeDirectory = path.join(atomDirectory, ".node-gyp")
this.atomNpmPath = require.resolve("npm/bin/npm-cli")
this.atomNodeDirectory = path.join(this.atomDirectory, ".node-gyp")
}

parseOptions(argv) {
Expand Down

0 comments on commit 9591692

Please sign in to comment.