Skip to content

Commit b7d96a3

Browse files
committed
fix: error handle
1 parent 469e816 commit b7d96a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/php.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ async function loadPHPLoaderModule(v: Version) {
3636
default:
3737
/* eslint no-unused-vars: 0 */
3838
const x: never = v
39-
return Error('not defined version');
39+
throw Error('not defined version');
4040
}
4141
}
4242

0 commit comments

Comments
 (0)