Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bazel/http-server/server.mts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import send from 'send';
import assert from 'node:assert';

// The current working directory is the runfiles root.
const runfilesRoot = process.env['RUNFILES_DIR']!;
assert(runfilesRoot, 'Expected `RUNFILES_DIR` to be set.');
const runfilesRoot = process.env['RUNFILES']!;
assert(runfilesRoot, 'Expected `RUNFILES` to be set.');

/**
* Http Server implementation that uses browser-sync internally. This server
Expand Down