Commit cbb67dd0 authored by Medicean's avatar Medicean

fix linux loader error

parent ddd7e66f
...@@ -128,7 +128,7 @@ antSword['language'] = require('./language/'); ...@@ -128,7 +128,7 @@ antSword['language'] = require('./language/');
antSword['encoders'] = (function(){ antSword['encoders'] = (function(){
var encoders = {asp:[],aspx:[],php:[],custom:[]}; var encoders = {asp:[],aspx:[],php:[],custom:[]};
var encoders_path = {asp:[],aspx:[],php:[],custom:[]}; var encoders_path = {asp:[],aspx:[],php:[],custom:[]};
let userencoder_path = path.join(process.env.AS_WORKDIR,'antData/encoders'); let userencoder_path = path.join(remote.process.env.AS_WORKDIR,'antData/encoders');
// 初始化 // 初始化
!fs.existsSync(userencoder_path) ? fs.mkdirSync(userencoder_path) : null; !fs.existsSync(userencoder_path) ? fs.mkdirSync(userencoder_path) : null;
['asp','aspx','php','custom'].map((t)=>{ ['asp','aspx','php','custom'].map((t)=>{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment