File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " hardhat-plugin-noir" ,
3- "version" : " 0.2.1 " ,
3+ "version" : " 0.2.2 " ,
44 "description" : " Hardhat plugin for Noir language" ,
55 "repository" : " github:olehmisar/hardhat-noir" ,
66 "author" :
" Oleh Misarosh <[email protected] >" ,
Original file line number Diff line number Diff line change 1+ import { HardhatPluginError } from "hardhat/plugins" ;
2+
13export const PLUGIN_NAME = "hardhat-plugin-noir" ;
24
35export const makeRunCommand = ( cwd ?: string ) => async ( command : string ) => {
@@ -19,6 +21,9 @@ export const makeRunCommand = (cwd?: string) => async (command: string) => {
1921 } catch ( error ) {
2022 console . error ( `Error executing command: ${ command } ` ) ;
2123 console . error ( ( error as any ) . stderr || ( error as any ) . message ) ; // Log only error messages
22- throw error ;
24+ throw new HardhatPluginError (
25+ PLUGIN_NAME ,
26+ `Error executing command: ${ command } ` ,
27+ ) ;
2328 }
2429} ;
You can’t perform that action at this time.
0 commit comments