Skip to content
Snippets Groups Projects
Commit a4a0dd2d authored by insert's avatar insert
Browse files

small bug fix

parent 5d0aceed
Branches
Tags
No related merge requests found
{
"name": "gnucc",
"version": "1.0.4",
"version": "1.0.3",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
......
{
"name": "gnucc",
"version": "1.0.5",
"version": "1.1.1",
"description": "Wrapper for GCC and G++",
"main": "dist/index.js",
"types": "dist/index.d.ts",
......
......@@ -49,7 +49,7 @@ export async function gnucc(optOrInput: GCCOptions | GPPOptions | string, output
inp.forEach(x => globbed.push(...globSync(x)));
inp = globbed;
let objects = inp.map(x => resolve(<string> optOrInput.objOut, x.replace(/\\|\//g, '_') + '.o'));
let objects = inp.map(x => resolve(<string> optOrInput.objOut, x.replace(/\\|\/|\:/g, '_').substring(2) + '.o'));
let compiler: Function = gnucc;
inp.forEach(x => {
......
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