File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6868 environment : npm
6969 permissions :
7070 id-token : write
71- env :
72- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
7371 steps :
7472 - uses : actions/checkout@v3
7573 - uses : codex-team/action-nodejs-package-info@v1.1
7977 name : ${{ env.ARTIFACT_NAME }}-${{ steps.package.outputs.version }}
8078 - uses : actions/setup-node@v3
8179 with :
80+ node-version : ' 24'
8281 registry-url : ' https://registry.npmjs.org'
83- - run : npm publish --access=public ./${{ env.ARTIFACT_NAME }}-${{ steps.package.outputs.version }}.tgz --provenance
82+ - run : npm publish --access=public ./${{ env.ARTIFACT_NAME }}-${{ steps.package.outputs.version }}.tgz
Original file line number Diff line number Diff line change @@ -151,13 +151,11 @@ impl FileReader<Cursor<Vec<u8>>> for WasmFileReader {
151151 Cursor :: new ( arr. to_vec ( ) )
152152 } )
153153 . map_err ( |err| {
154- std:: io:: Error :: new (
155- std:: io:: ErrorKind :: Other ,
156- format ! ( "Error reading source map from wasm {err:?}" ) ,
154+ std:: io:: Error :: other (
155+ format ! ( "Error reading source map from wasm {err:?}" )
157156 )
158157 } ) ,
159- None => Err ( std:: io:: Error :: new (
160- std:: io:: ErrorKind :: Other ,
158+ None => Err ( std:: io:: Error :: other (
161159 "Error reading source map. No path provided" . to_string ( ) ,
162160 ) ) ,
163161 }
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ pub trait FileReader<R: Read> {
4040 }
4141}
4242
43+ #[ allow( dead_code) ]
4344pub struct DefaultFileReader { }
4445impl FileReader < File > for DefaultFileReader {
4546 fn read ( & self , path : & Path ) -> std:: io:: Result < File >
You can’t perform that action at this time.
0 commit comments