增加开源协议类型MIT及LICENSE文件
This commit is contained in:
parent
2282b85bb1
commit
2650fa683c
|
@ -0,0 +1,22 @@
|
||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2023 Changtao
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in
|
||||||
|
all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
|
THE SOFTWARE.
|
||||||
|
|
Binary file not shown.
File diff suppressed because one or more lines are too long
|
@ -616,29 +616,6 @@ export function activate(context: vscode.ExtensionContext) {
|
||||||
}else{
|
}else{
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
//const { stdout, stderr } = execSync(temcmd,{ encoding: 'utf-8' });
|
|
||||||
|
|
||||||
/*
|
|
||||||
const result = spawnSync(temcmd, {
|
|
||||||
stdio: ['inherit', 'pipe', 'inherit'],
|
|
||||||
shell: true,
|
|
||||||
});
|
|
||||||
if (result.status !== 0) {
|
|
||||||
console.error(`命令执行失败,退出码:${result.status}`);
|
|
||||||
console.error(`错误信息:${result.stderr.toString()}`);
|
|
||||||
return true;
|
|
||||||
} else {
|
|
||||||
console.log(`命令执行成功,输出信息:${result.stdout.toString()}`);
|
|
||||||
const stderr = result.stderr.toString();
|
|
||||||
const mergedStderr = stderr.replace(/\r?\n/g, ' ');
|
|
||||||
console.log("all message is:",mergedStderr)
|
|
||||||
let findstring="is already traced by process"
|
|
||||||
if(mergedStderr.includes(findstring)){
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue