mirror of
https://github.com/denoland/deno.git
synced 2024-12-11 18:17:48 -05:00
6a649012bc
* Changed tools/lint.py to lint the entire js and tests directorys and sub directories, currently it was pointing at tsconfig and would only lint files that were part of js/main.ts or node_modules/typescript/lib/lib.esnext.d.ts and their dependencies * Broke the typescript linting out into separate steps for the main typescript programing and tests. * Fixed linting issues in ts tests.
11 lines
230 B
TypeScript
11 lines
230 B
TypeScript
import { stdout, open, copy, args } from "deno";
|
|
|
|
async function main() {
|
|
for (let i = 1; i < args.length; i++) {
|
|
const filename = args[i];
|
|
const file = await open(filename);
|
|
await copy(stdout, file);
|
|
}
|
|
}
|
|
|
|
main();
|