Comments (6)
Yeah.. the mof files need to be ascii.
I'll see what I can do tonight or add a script to allow you to fix that
locally
On Nov 18, 2013 9:17 AM, "jasonmueller" [email protected] wrote:
I've cloned your repo and even forked to my own and when I pull the files,
I am unable to edit them or run them because they are filled with
gibberish. They appear to be UTF-16 encoded, which I believe has been a
problem for Git (doing diffs, etc.). Am I missing a setting or something to
be able to use these?Thanks!
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/9
.
from dsc.
Whatever works. I want to make sure I'm doing it right without creating work for you. How are you guys editing them? I can't even load the New-MofFile.ps1 because PowerShell chokes.
C:\code\github\DSC.PowerShellOrg\Tools [master]> . .\New-MofFile.ps1
At C:\code\github\DSC.PowerShellOrg\Tools\New-MofFile.ps1:1 char:21
+ function New-MofFile
+ ~
Missing function body in function declaration.
At C:\code\github\DSC.PowerShellOrg\Tools\New-MofFile.ps1:3 char:5
+ <#
+ ~~
The terminator '#>' is missing from the multiline comment.
+ CategoryInfo : ParserError: (:) [], ParseException
+ FullyQualifiedErrorId : MissingFunctionBody
C:\code\github\DSC.PowerShellOrg\Tools [master]>
I'll look for an update later tonight. Thanks for your help.
from dsc.
Hey Jason,
The hotel internet was a bit overloaded last night, so I'm digging into the issue this morning. I'll update this issue after I replicate the problem and can push an update.
from dsc.
Yeah. They always are. Thanks for looking into it.
from dsc.
Sorry for the LONG delay. There is a new version of New-MofFile, which should resolve any outstanding issues.
from dsc.
Awesome. I'll pull the new stuff. Thank you very much!
Sent from my Windows Phone
From: Steven Murawskimailto:[email protected]
Sent: 1/3/2014 11:47 PM
To: PowerShellOrg/DSCmailto:[email protected]
Cc: jasonmuellermailto:[email protected]
Subject: Re: [DSC] UTF-16 Encoding causes garbage files on Windows (#9)
Sorry for the LONG delay. There is a new version of New-MofFile, which should resolve any outstanding issues.
Reply to this email directly or view it on GitHub:
#9 (comment)
from dsc.
Related Issues (20)
- DSCBuild: Allow resource modules to specify their own build scripts HOT 2
- DscBuild: Restore state of Program Files directory on failed build HOT 6
- Add tests for DscBuild HOT 1
- Resolve-DscConfigurationProperty and Services vs node HOT 4
- Modules in DSC_Resorces cant be used to manage machine running invoke-DSCBuild. HOT 11
- Command conflicts HOT 1
- Get-DscConfigurationData filtering behavior HOT 1
- DSC Resource HOT 5
- cSmbshare Test-TargetResource FIX HOT 1
- ValidateSet can not be used for Arrays, PSCredentials, and Hashtable HOT 2
- How to get Credentials into a Configuration HOT 2
- Documentation for DSC tooling HOT 4
- New Resources for ElasticSearch, NSSM, 7zip and JRE HOT 15
- DSC resources for Team Foundation Server HOT 7
- Update credential encryption code
- Modify New-DscResourceFromModule to accept new parameters HOT 1
- Break up cDscDiagnostics into individual scripts HOT 4
- Add-DscEncryptedPassword functionality HOT 4
- DSC Resource PSHOrg_cADGroup to cActive Directory HOT 6
- building with Jenkins HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dsc.