Renamed references to 'configurePrerelease'. (#35997)

This commit is contained in:
Daniel Rosenwasser
2020-01-06 16:38:46 -08:00
committed by GitHub
parent f807b57356
commit d044e0680a
2 changed files with 6 additions and 6 deletions

View File

@@ -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;
}