File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 9
9
10
10
Try it out:
11
11
``` bash
12
- docker run -p 127.0.0.1:8443:8443 -v " ${PWD} :/root/project" codercom/code-server code-server --allow-http --no-auth
12
+ docker run -p 127.0.0.1:8443:8443 -v " ${PWD} :/root/project" codercom/code-server--allow-http --no-auth
13
13
```
14
14
15
15
- Code on your Chromebook, tablet, and laptop with a consistent dev environment.
Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ const ensureCloned = register("vscode:clone", async (runner) => {
226
226
}
227
227
228
228
runner . cwd = vscodePath ;
229
- const checkout = await runner . execute ( "git" , [ "checkout" , "tags/ 1.32.0" ] ) ;
229
+ const checkout = await runner . execute ( "git" , [ "checkout" , "1.32.0" ] ) ;
230
230
if ( checkout . exitCode !== 0 ) {
231
231
throw new Error ( `Failed to checkout: ${ checkout . stderr } ` ) ;
232
232
}
@@ -246,6 +246,10 @@ const ensureClean = register("vscode:clean", async (runner) => {
246
246
throw new Error ( `Failed to remove unstaged files: ${ removeUnstaged . stderr } ` ) ;
247
247
}
248
248
}
249
+ const fetch = await runner . execute ( "git" , [ "fetch" , "--prune" ] ) ;
250
+ if ( fetch . exitCode !== 0 ) {
251
+ throw new Error ( `Failed to fetch latest changes: ${ fetch . stderr } ` ) ;
252
+ }
249
253
} ) ;
250
254
251
255
const ensurePatched = register ( "vscode:patch" , async ( runner ) => {
You can’t perform that action at this time.
0 commit comments