Skip to content

Commit 50874e9

Browse files
committed
Compatibility for Windows
1 parent df8d749 commit 50874e9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/checkpack.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const cli = require('yargs')
4848
} else {
4949
const opn = require('opn');
5050
console.log('Opening tmp file: ' + data.file);
51-
opn(data.file, {wait: false});
51+
opn('file://' + data.file, {wait: false});
5252
}
5353
} else {
5454
await compileCommand(compilerName, basename, entryPath, path.resolve(argv.outputPath));

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "checkpack",
3-
"version": "0.2.3",
3+
"version": "0.2.4",
44
"description": "Check if your library works inside packagers.",
55
"author": "Yevhenii Huselietov",
66
"contributors": [

0 commit comments

Comments
 (0)