Skip to content

Commit

Permalink
fixing windows
Browse files Browse the repository at this point in the history
  • Loading branch information
fridgerator committed Jul 22, 2019
1 parent 3d10a73 commit 5c6975e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class R {
if (!this.options.env) this.options.env = process.env
if (!this.options.env.DIRNAME) this.options.env.DIRNAME = __dirname
this.idCounter = 0
this.args = ['--vanilla', this.options.env.DIRNAME + '/R/launch.R']
this.args = ['--vanilla', path.join(this.options.env.DIRNAME, 'R', 'launch.R')]
}

private setInputEnv (opts: Options): void {
Expand Down

0 comments on commit 5c6975e

Please sign in to comment.