Skip to content

Commit

Permalink
updating lode .fixrepo command
Browse files Browse the repository at this point in the history
  • Loading branch information
kenmonks committed Jun 17, 2024
1 parent 31b14b1 commit 4bcd9a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lode.js
Original file line number Diff line number Diff line change
Expand Up @@ -618,14 +618,14 @@ rpl.defineCommand( "showdocs", {
}
})

// define the Lode .fixcdn command
// define the Lode .fixrepo command
rpl.defineCommand( "fixrepo", {
help: "Modify the main repo code with local changes.",
action() {
const lurchmathpath = '../../../lurchmath'
const lurchmathpath = '../lurchmath'

console.log(defaultPen('Overwriting lde-cdn.js ...'))
exec('cp "utils/lurchmath config/lde-cdn.js" ' + lurchmathpath)
exec('cp "../utils/lurchmath config/lde-cdn.js" ' + lurchmathpath)

console.log(defaultPen('Changing default About page ...\n'))
let editorjs = fs.readFileSync( lurchmathpath+'/editor.js' , { encoding:'utf8'} )
Expand Down

0 comments on commit 4bcd9a3

Please sign in to comment.