Skip to content

Commit bfa4031

Browse files
committed
Convert one small utility to verify the build works
1 parent 6780761 commit bfa4031

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

ts/lib/utilities/tmpdir.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

ts/lib/utilities/tmpdir.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
'use strict';
2+
3+
import * as os from 'os';
4+
import * as fs from 'fs';
5+
6+
// Watchman gets upset when it receives non-canonical paths as watch roots
7+
export = () => fs.realpathSync(os.tmpdir());

0 commit comments

Comments
 (0)