Skip to content

Commit

Permalink
fix: windows path issue for reading config file
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Fitzgerald committed Jun 22, 2021
1 parent 8f6f88e commit ab82f5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snowflake.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ const sqlFileName = process.argv[2];
let file = null;
let config = null;
try {
let filePath = path.normalize('./config.yaml');
let filePath = path.normalize('config.yaml');
file = fs.readFileSync(filePath, 'utf8')
} catch (error) {
console.error('Error reading config.yml file ', error);
console.error('Error reading config.yaml file ', error);
process.exit(0);
}
try {
Expand Down

0 comments on commit ab82f5c

Please sign in to comment.