File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ class Builder {
106
106
// (like --version) it outputs the version to stderr and exits with 1.
107
107
const result = await util . promisify ( cp . exec ) ( "ldd --version" )
108
108
. catch ( ( error ) => ( { stderr : error . message , stdout : "" } ) ) ;
109
- if ( / ^ m u s l / . test ( result . stderr ) || / ^ m u s l / . test ( result . stdout ) ) {
109
+ if ( / m u s l / . test ( result . stderr ) || / m u s l / . test ( result . stdout ) ) {
110
110
this . _target = "alpine" ;
111
111
} else {
112
112
this . _target = "linux" ;
@@ -130,8 +130,8 @@ class Builder {
130
130
131
131
/**
132
132
* Return true if it looks like we're inside VS Code. This is used to prevent
133
- * accidentally building inside while developing or to prevent trying to run
134
- * `yarn` in VS Code when we aren't in VS Code .
133
+ * accidentally building inside VS Code while developing which causes issues
134
+ * because the watcher will try compiling those built files .
135
135
*/
136
136
private isInVscode ( pathToCheck : string ) : boolean {
137
137
let inside = false ;
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ export class UpdateService extends AbstractUpdateService {
130
130
stderr : error . message ,
131
131
stdout : "" ,
132
132
} ) ) ;
133
- if ( / ^ m u s l / . test ( result . stderr ) || / ^ m u s l / . test ( result . stdout ) ) {
133
+ if ( / m u s l / . test ( result . stderr ) || / m u s l / . test ( result . stdout ) ) {
134
134
target = "alpine" ;
135
135
}
136
136
}
You can’t perform that action at this time.
0 commit comments