Skip to content

Commit

Permalink
changed path
Browse files Browse the repository at this point in the history
  • Loading branch information
Trey Smith committed Sep 16, 2021
1 parent 692c4d3 commit f440f6f
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const gulp = require('gulp');

gulp.task('copy-executables', (cb) => {
gulp.src('./executables/*/**')
gulp.src('./src/executables/*/**')
.pipe(gulp.dest('./dist/executables'))
cb();
});
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default class PDFConvert {
options: any;
source: Buffer | string;
tempLocation: string | undefined;
ghostscriptPath = path.join(path.resolve('./'), "executables", "ghostScript");
ghostscriptPath = path.join(__dirname, "executables", "ghostScript");

/**
* Constructs a new Convert Object
Expand Down

0 comments on commit f440f6f

Please sign in to comment.