File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export namespace GithubService {
2424 result . demoDirectory = demoDir ;
2525
2626 // if there is a plugin build script, execute it
27- await execPromise ( name , `npm run build.plugin --if-present` ) ;
27+ await execPromise ( demoDir , `npm run build.plugin --if-present` ) ;
2828
2929 if ( plugin . badges . androidVersion ) {
3030 result . android = ! ! ( await _buildProject ( demoDir , 'android' ) ) ;
@@ -40,7 +40,7 @@ export namespace GithubService {
4040 Logger . error ( 'plugin has no platform' ) ;
4141 }
4242 } catch ( errExec ) {
43- Logger . error ( JSON . stringify ( errExec ) ) ;
43+ Logger . error ( JSON . stringify ( errExec . message || errExec ) ) ;
4444 }
4545
4646 return result ;
Original file line number Diff line number Diff line change 11
2- class nullLogger {
2+ class NullLogger {
33 error ( message : string ) {
44 // null
55 }
You can’t perform that action at this time.
0 commit comments