mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-03-15 22:15:18 -05:00
Renamed references to 'configurePrerelease'. (#35997)
This commit is contained in:
committed by
GitHub
parent
f807b57356
commit
d044e0680a
@@ -1,9 +1,7 @@
|
||||
/// <reference types="node"/>
|
||||
import { normalize } from "path";
|
||||
import { normalize, relative } from "path";
|
||||
import assert = require("assert");
|
||||
import { readFileSync, writeFileSync } from "fs";
|
||||
const args = process.argv.slice(2);
|
||||
|
||||
|
||||
/**
|
||||
* A minimal description for a parsed package.json object.
|
||||
@@ -15,9 +13,11 @@ interface PackageJson {
|
||||
}
|
||||
|
||||
function main(): void {
|
||||
const args = process.argv.slice(2);
|
||||
if (args.length < 3) {
|
||||
const thisProgramName = relative(process.cwd(), __filename);
|
||||
console.log("Usage:");
|
||||
console.log("\tnode configureNightly.js <dev|insiders> <package.json location> <file containing version>");
|
||||
console.log(`\tnode ${thisProgramName} <dev|insiders> <package.json location> <file containing version>`);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user