mirror of
https://gitlab.com/Cynosphere/xmc.git
synced 2024-08-14 22:57:03 +00:00
fix splitter
This commit is contained in:
parent
142bc94400
commit
9c66d3ab39
1 changed files with 3 additions and 3 deletions
|
@ -6,8 +6,8 @@ const path = require("path");
|
|||
|
||||
/****/
|
||||
|
||||
const inputFile = process.argv[1];
|
||||
const outputDir = process.argv[2];
|
||||
const inputFile = process.argv[2];
|
||||
const outputDir = process.argv[3];
|
||||
|
||||
if (!fs.existsSync(inputFile)) {
|
||||
console.log("input does not exist");
|
||||
|
@ -118,7 +118,7 @@ try {
|
|||
contents
|
||||
);
|
||||
} else {
|
||||
fs.writeFileSync(path.join(outputDir, name + ".css"), contents);
|
||||
fs.writeFileSync(path.join(outputDir, filePath + ".css"), contents);
|
||||
}
|
||||
}
|
||||
} catch (err) {
|
||||
|
|
Loading…
Reference in a new issue