Skip to content

Commit

Permalink
Fix example scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
w3nl committed Jul 15, 2022
1 parent 1922428 commit 9b48dee
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions example/test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var {
import {
Ppt2PngConverter
} = require('../dist/converter.js');
var glob = require('glob');
} from '../src/converter.js';
import glob from 'glob';

// options is optional
glob('test/*.ppt*', {}, function(error, files) {
Expand Down
8 changes: 4 additions & 4 deletions test/test2.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
var {
import {
Ppt2PngConverter
} = require('../dist/converter.js');
var {
} from '../src/converter.js';
import {
fileExists
} = require('@hckrnews/converter');
} from '@hckrnews/converter';


const converter = Ppt2PngConverter.create({
Expand Down

0 comments on commit 9b48dee

Please sign in to comment.