fez-lisp 1.6.45 → 1.6.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/utils.js +2 -2
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "fez-lisp",
3
3
  "description": "Lisp interpreted & compiled to JavaScript",
4
4
  "author": "AT290690",
5
- "version": "1.6.45",
5
+ "version": "1.6.46",
6
6
  "type": "module",
7
7
  "main": "index.js",
8
8
  "keywords": [
package/src/utils.js CHANGED
@@ -35,7 +35,7 @@ export const logType = (type) => {
35
35
  console.log(type, '\n\x1b[0m')
36
36
  }
37
37
  export const logResult = (result) => {
38
- console.log('\x1b[34m')
38
+ console.log('\x1b[33m')
39
39
  console.log(result, '\n\x1b[0m')
40
40
  }
41
41
  export const wrapInBracesString = (exp) => `(${stringifyArgs(exp)})`
@@ -406,7 +406,7 @@ export const init = () => {
406
406
  const file = readFileSync('./main.lisp', 'utf-8')
407
407
  switch (process.argv[2]) {
408
408
  case 'comp':
409
- writeFileSync('./main.js', 'var _ = ' + comp(file) + '\nconsole.log(_)')
409
+ writeFileSync('./main.js', 'var _ = ' + comp(file) + '; console.log(_)')
410
410
  break
411
411
  case 'dev':
412
412
  default: