Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e4ea551

Browse files
committedMar 9, 2019
Update docker oneliner and fix clone task
1 parent 76e0338 commit e4ea551

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
Try it out:
1111
```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
1313
```
1414

1515
- Code on your Chromebook, tablet, and laptop with a consistent dev environment.

‎build/tasks.ts

+4
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,10 @@ const ensureClean = register("vscode:clean", async (runner) => {
246246
throw new Error(`Failed to remove unstaged files: ${removeUnstaged.stderr}`);
247247
}
248248
}
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+
}
249253
});
250254

251255
const ensurePatched = register("vscode:patch", async (runner) => {

0 commit comments

Comments
 (0)
Please sign in to comment.