Skip to content

Commit

Permalink
fix: the coffee file imports
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Mar 21, 2021
1 parent 3bf55c5 commit b746e93
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
36 changes: 18 additions & 18 deletions lib/grammars.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
"use babel"

import grammarMap from "./grammars/index.coffee"
import grammarMap from "./grammars/index"

import apple from "./grammars/apple.coffee"
import c from "./grammars/c.coffee"
import coffeescript from "./grammars/coffeescript.coffee"
import database from "./grammars/database.coffee"
import doc from "./grammars/doc.coffee"
import fortran from "./grammars/fortran.coffee"
import haskell from "./grammars/haskell.coffee"
import java from "./grammars/java.coffee"
import * as apple from "./grammars/apple"
import * as c from "./grammars/c"
import * as coffeescript from "./grammars/coffeescript"
import database from "./grammars/database"
import * as doc from "./grammars/doc"
import * as fortran from "./grammars/fortran"
import * as haskell from "./grammars/haskell"
import * as java from "./grammars/java"
import * as js from "./grammars/javascript"
import lisp from "./grammars/lisp.coffee"
import lua from "./grammars/lua.coffee"
import ml from "./grammars/ml.coffee"
import perl from "./grammars/perl.coffee"
import php from "./grammars/php.coffee"
import python from "./grammars/python.coffee"
import ruby from "./grammars/ruby.coffee"
import shell from "./grammars/shell.coffee"
import windows from "./grammars/windows.coffee"
import lisp from "./grammars/lisp"
import * as lua from "./grammars/lua"
import ml from "./grammars/ml"
import * as perl from "./grammars/perl"
import php from "./grammars/php"
import * as python from "./grammars/python"
import ruby from "./grammars/ruby"
import * as shell from "./grammars/shell"
import * as windows from "./grammars/windows"

const Grammars = {
...grammarMap,
Expand Down
2 changes: 1 addition & 1 deletion lib/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export default class Runner {

args(codeContext, extraArgs) {
// extraArgs = default command args from:
// - the grammars/<grammar>.coffee file
// - the grammars/<grammar>.js file

// cmdArgs = customed command args from:
// - a user's profil
Expand Down

0 comments on commit b746e93

Please sign in to comment.