diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:56:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:56:41 +0100 |
commit | d87262dd706fec50cd150aab3e93883b6337466d (patch) | |
tree | 246b44c33ad7a57550430b0a60fa0df86a3c9e68 /app-editors/atom/files/transpile-coffee-script.js | |
parent | 71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-editors/atom/files/transpile-coffee-script.js')
-rw-r--r-- | app-editors/atom/files/transpile-coffee-script.js | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/app-editors/atom/files/transpile-coffee-script.js b/app-editors/atom/files/transpile-coffee-script.js deleted file mode 100644 index c32e09cad92d..000000000000 --- a/app-editors/atom/files/transpile-coffee-script.js +++ /dev/null @@ -1,23 +0,0 @@ -'use strict' - -const CompileCache = require(process.env.ATOM_SRC_ROOT + '/src/compile-cache') -const fs = require('fs') -const glob = require('glob') -const path = require('path') - -module.exports = function () { - let paths = new Set() - - for (let pattern of process.argv.slice(2)) { - for (let path of glob.sync(pattern, {nodir: true})) { - paths.add(path) - } - } - - for (let path of paths) { - let jsPath = coffeePath.replace(/coffee$/g, 'js') - fs.writeFileSync( - jsPath, CompileCache.addPathToCache(coffeePath, process.env.ATOM_HOME)) - fs.unlinkSync(coffeePath) - } -} |