-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from tdotholla/lightRefac
Light refac
- Loading branch information
Showing
37 changed files
with
1,167 additions
and
225 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
const myArgs = process.argv.slice(2); | ||
const { buildSetup, createFiles, createMetaData } = require("./main.js"); | ||
const { defaultEdition } = require("./config.js"); | ||
const edition = myArgs.length > 0 ? Number(myArgs[0]) : defaultEdition; | ||
|
||
(() => { | ||
buildSetup(); | ||
createFiles(edition); | ||
createMetaData(); | ||
import { defaultEdition } from "./config"; | ||
import { buildSetup, createFiles, createMetaData } from "./main"; | ||
var myArgs = process.argv.slice(2); | ||
var editions = myArgs.length > 0 ? Number(myArgs[0]) : defaultEdition; | ||
(function () { | ||
buildSetup(); | ||
createFiles(editions); | ||
createMetaData(); | ||
})(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
import { defaultEdition } from "./config"; | ||
import { buildSetup, createFiles, createMetaData } from "./main"; | ||
const myArgs = process.argv.slice(2); | ||
const edition = myArgs.length > 0 ? Number(myArgs[0]) : defaultEdition; | ||
const editions = myArgs.length > 0 ? Number(myArgs[0]) : defaultEdition; | ||
|
||
(() => { | ||
buildSetup(); | ||
createFiles(edition); | ||
createFiles(editions); | ||
createMetaData(); | ||
})(); | ||
|
Oops, something went wrong.
e989aa0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: