Skip to content

Commit 7e12f11

Browse files
committed
style
1 parent 35e729a commit 7e12f11

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

Lync/index.js

+13-13
Original file line numberDiff line numberDiff line change
@@ -1013,7 +1013,7 @@ async function mapJsonRecursive(
10131013
// Get release info
10141014
if (DEBUG)
10151015
console.log(
1016-
`Getting latest version for ${green(localPath.package)} . . .`
1016+
`Getting latest version for ${green(localPath.package)}...`
10171017
);
10181018
const release = await getAsync(
10191019
`https://api.github.com/repos/${owner}/${repo}/releases/${
@@ -1038,7 +1038,7 @@ async function mapJsonRecursive(
10381038
// Download release asset
10391039
if (!fs.existsSync(assetFile + assetExt)) {
10401040
if (DEBUG)
1041-
console.log(`Downloading ${green(localPath.package)} . . .`);
1041+
console.log(`Downloading ${green(localPath.package)}...`);
10421042

10431043
let matchingAssetInfo;
10441044
if (localPath.type != "repo") {
@@ -1261,7 +1261,7 @@ function runJobs(event, localPath) {
12611261
// Check for updates
12621262

12631263
if (MODE != "fetch" && CONFIG.AutoUpdate) {
1264-
console.log("Checking for updates . . .");
1264+
console.log("Checking for updates...");
12651265
try {
12661266
// Grab latest version info
12671267
let latest = await getAsync(
@@ -1292,7 +1292,7 @@ function runJobs(event, localPath) {
12921292
);
12931293

12941294
// Download latest version
1295-
console.log(`Updating to ${green(latest.name)} . . .`);
1295+
console.log(`Updating to ${green(latest.name)}...`);
12961296
const assetName = `lync-${
12971297
latest.tag_name
12981298
}-${PLATFORM}-${os.arch()}.zip`;
@@ -1366,24 +1366,24 @@ function runJobs(event, localPath) {
13661366

13671367
// Begin
13681368

1369-
console.log("Path:", cyan(process.cwd()));
1370-
console.log("Args:", ARGS);
1369+
// console.log("Path:", cyan(process.cwd()));
1370+
// console.log("Args:", ARGS);
13711371

13721372
http.globalAgent.maxSockets = 65535;
13731373

13741374
// Map project
13751375

13761376
await changedJson();
13771377
firstMapped = true;
1378-
console.log();
1378+
// console.log();
13791379

13801380
// Download sources
13811381
if (MODE == "fetch") {
13821382
if (!("sources" in projectJson) || projectJson.length == 0)
13831383
console.log("Nothing to download");
13841384
for (const index in projectJson.sources) {
13851385
const source = projectJson.sources[index];
1386-
console.log("Fetching source", green(source.name), ". . .");
1386+
console.log("Fetching source", green(source.name), "...");
13871387
try {
13881388
let contents;
13891389
if (source.type == "GET") {
@@ -1472,7 +1472,7 @@ function runJobs(event, localPath) {
14721472
);
14731473

14741474
// Write validation script
1475-
if (DEBUG) console.log("Writing validation script . . .");
1475+
if (DEBUG) console.log("Writing validation script...");
14761476
let validationScript = fs.readFileSync(
14771477
path.resolve(__dirname, "luneBuildTemplate.luau")
14781478
);
@@ -1487,7 +1487,7 @@ function runJobs(event, localPath) {
14871487
fs.writeFileSync(buildScriptPath, validationScript);
14881488

14891489
// Validate loadstrings
1490-
if (DEBUG) console.log("Validating loadstrings . . .");
1490+
if (DEBUG) console.log("Validating loadstrings...");
14911491
const validationStatus = spawnSync(
14921492
lunePath,
14931493
["run", `${buildScriptPath}`],
@@ -1513,7 +1513,7 @@ function runJobs(event, localPath) {
15131513
}
15141514

15151515
// Write build script
1516-
if (DEBUG) console.log("Writing build script . . .");
1516+
if (DEBUG) console.log("Writing build script...");
15171517
let buildScript =
15181518
fs.readFileSync(path.resolve(__dirname, "luneBuildTemplate.luau")) +
15191519
`\nworkspace:SetAttribute("__lyncbuildfile", ${projectJson.port})\n` +
@@ -1528,7 +1528,7 @@ function runJobs(event, localPath) {
15281528
fs.writeFileSync(buildScriptPath, buildScript);
15291529

15301530
// Build RBXL
1531-
if (DEBUG) console.log("Building RBXL . . .");
1531+
if (DEBUG) console.log("Building RBXL...");
15321532
const build = spawn(lunePath, ["run", `${buildScriptPath}`], {
15331533
cwd: process.cwd(),
15341534
detached: false,
@@ -1734,7 +1734,7 @@ function runJobs(event, localPath) {
17341734
localPathStats.isFile() &&
17351735
mTimes[localPath] != localPathStats.mtimeMs
17361736
) {
1737-
console.log("M", cyan(localPath));
1737+
// console.log("M", cyan(localPath));
17381738
for (const key in map.tree) {
17391739
if (
17401740
localPathIsInit(localPath) &&

0 commit comments

Comments
 (0)